[ 
https://issues.apache.org/jira/browse/CAMEL-25390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-25390 started by Claus Ibsen.
-------------------------------------------
> camel-cli-connector - Always reply to CLI actions, including errors and acks
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-25390
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25390
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> * {{FileCliConnectorTransport}} always writes an output file: the result, or 
> {{\{"status":"error","message":...,"action":...\}}} when the action reports 
> an error via {{CliActionOutput.error()}}, the action is unknown, or dispatch 
> throws.
> * Fire-and-forget actions (route start/stop/suspend/resume, processor 
> enable/disable, gc, reload, reset-stats, logger) write an ack ({{status: 
> success}} or the error).
> * Share the error mapping with {{WebSocketCliConnectorTransport}} so both 
> transports behave the same.
> _Claude Code on behalf of davsclaus (Claus Ibsen)_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to