[
https://issues.apache.org/jira/browse/CAMEL-25397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-25397 started by Claus Ibsen.
-------------------------------------------
> camel-jbang - camel run: background startup reporting and early input errors
> ----------------------------------------------------------------------------
>
> Key: CAMEL-25397
> URL: https://issues.apache.org/jira/browse/CAMEL-25397
> Project: Camel
> Issue Type: Sub-task
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> * {{--background-wait=<duration>}} (default 60s; {{true}}/{{false}} still
> accepted). Still starting at expiry -> exit 124 with the log path,
> integration left running (today: hardcoded 20s, exit 0).
> * Keep the log as {{~/.camel/<pid>-run.log}}, always print its path, remove
> it from {{stop}}/{{dirty}}; no-wait mode logs to the file instead of an
> unread pipe.
> * Missing file -> clean {{ERROR: File does not exist}} exit 3 for every
> extension (today {{.yaml}}/{{.xml}} give a stack trace).
> * Zero routes loaded -> exit 1 "No routes found in: ..." except with
> {{--source-dir}} (files may be added later); internal spawns pass {{--empty}}.
> * {{dev}} with explicit
> {{--max-seconds}}/{{--max-messages}}/{{--max-idle-seconds}} honours the limit
> and exits.
> _Claude Code on behalf of davsclaus (Claus Ibsen)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)