ramu11 opened a new pull request, #9506:
URL: https://github.com/apache/camel-quarkus/pull/9506

   ## CAMEL-26360: Add resource template support to Quarkus MCP server
   
   ### Summary
   
   Add support for publishing Camel MCP resource templates through the native 
Quarkus MCP server engine, bringing its resource-template support closer to the 
Camel Main and Spring Boot engines.
   
   ### Changes
   
   - Inject `ResourceTemplateManager` into `QuarkusMcpServerEngine`.
   - Implement `resourceTemplateAdded()`, `resourceTemplateRemoved()` and 
`supportsResourceTemplates()`.
   - Register Camel `ai-resource` URI templates with the Quarkiverse MCP server.
   - Map resource-template read results to MCP text and blob resource contents.
   - Detect conflicts with application-defined resources and resource templates 
on the default MCP server.
   - Avoid treating templates with different valid URI schemes as overlapping.
   - Track templates registered by the Camel engine so route shutdown does not 
remove application-owned templates.
   - Retain ownership information when removal fails and retry cleanup before 
re-registration.
   - Add integration-test coverage for template listing, resource reads, route 
stop/start lifecycle and application-defined template collision handling.
   
   ### Camel 4.24 compatibility
   
   - Align the Camel Quarkus Camel BOM and Camel version property with 
`4.24.0-SNAPSHOT`.
   - Remove obsolete BacklogTracer activity configuration assertions and the 
corresponding `CamelTraceActivityTest`, as the activity APIs are no longer 
available in Camel 4.24.
   
   ### Validation
   
   - MCP runtime and deployment modules compile successfully.
   - AI Resource runtime and deployment modules build successfully.
   - MCP integration-test sources compile successfully.
   - `git diff --check` passes.
   
   **Note:** The MCP integration tests were not executed. The integration-test 
module skips test execution because of the existing Quarkus 4 compatibility 
issue tracked in [[CAMEL-QUARKUS 
#9362](https://github.com/apache/camel-quarkus/issues/9362)](https://github.com/apache/camel-quarkus/issues/9362).
   
   ### Jira
   
   
[[CAMEL-26360](https://issues.apache.org/jira/browse/CAMEL-26360)](https://issues.apache.org/jira/browse/CAMEL-26360)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to