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)

Reply via email to