[
https://issues.apache.org/jira/browse/CAMEL-22991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058110#comment-18058110
]
Andrea Cosentino commented on CAMEL-22991:
------------------------------------------
In this case I didn't use the Jbang command, for the following reason:
- TransformRoute boots a full Camel Main runtime via the Run command, writes to
temp files, and polls with timeouts, it's designed for CLI use, not in-process
library calls
- the MCP server has no guarantee that the camel CLI is available on $PATH
- shelling out from a server process adds security surface and fragility
In the long term this could eventually be something to consider, if one day we
choose to support running via mcp...
> Camel-Jbang-mcp: Support Transform route xml to yaml and yaml to xml in mcp
> tool
> --------------------------------------------------------------------------------
>
> Key: CAMEL-22991
> URL: https://issues.apache.org/jira/browse/CAMEL-22991
> Project: Camel
> Issue Type: Improvement
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.18.0
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)