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/06 18:56:00 UTC

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

Claus Ibsen created CAMEL-25393:
-----------------------------------

             Summary: 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
             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}}).
* 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)