You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/15 21:19:00 UTC

[jira] [Work started] (CAMEL-25393) camel-jbang - camel cmd actions report failures and timeouts

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

Work on CAMEL-25393 started by Claus Ibsen.
-------------------------------------------
> camel-jbang - camel cmd actions report failures and timeouts
> ------------------------------------------------------------
>
>                 Key: CAMEL-25393
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25393
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> Move the ~36 {{camel cmd ...}} / action commands onto {{ActionClient}} and {{ProcessFinder}}:
> * Fire-and-forget commands (route/processor/gc/reload/reset-stats/logger/trace start-stop) wait for the ack and fail on error.
> * No silent {{return 1}} and no silent {{exit 0}} on timeout or failed status ({{browse}}, {{load}}, {{receive}}, {{span}}, {{startup-recorder}}, {{transform message}}, {{thread-dump}}, {{route-controller}}, {{source-top}}, {{send}} local mode).
> * {{cmd expression}} / {{transform message}}: an explicit name that matches nothing exits 3 instead of spawning a new Camel (only without a name or with {{--isolated}}).
> * {{--json}} on the data-returning actions (moved from CAMEL-25392): one JSON document on stdout, errors as {{\{"status":"error","code":N,"message":...\}}}.
> * Fix footer examples ({{camel cmd start-route myRoute}} passes the route id as integration name; use {{--id}}).
> * Fix {{cmd stub --watch --find}} re-quoting patterns each refresh; {{--grep}} NPE in {{log}}/{{trace}}/{{receive}} when no integration ran at start.
> _Claude Code on behalf of davsclaus (Claus Ibsen)_



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