feat(mcp-client): Add non-blocking tools change notification support
- Add toolsChangeNotificationHandler with non-blocking consumer execution using boundedElastic scheduler - Add toolsChangeConsumer builder method to McpClient for easy configuration - Add comprehensive test coverage for tools change notifications - Update documentation with tools change notification features and examples The implementation ensures consumers are executed non-blockingly on the boundedElastic scheduler, preventing performance impact from blocking implementations while maintaining proper error handling and logging. Part of #20
This commit is contained in:
parent
9adcc5b9c4
commit
383d6a7eff
1 changed files with 165 additions and 26 deletions
|
|
@ -98,7 +98,14 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.awaitility</groupId>
|
||||
<artifactId>awaitility</artifactId>
|
||||
<version>4.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue