[ 
https://issues.apache.org/jira/browse/CAMEL-25395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127657#comment-18127657
 ] 

Claus Ibsen commented on CAMEL-25395:
-------------------------------------

Pull request: https://github.com/apache/camel/pull/27927 — camel stop waits 
until the integration has stopped (--timeout, 124 with a hint to use --kill, 
--no-wait as before), and camel restart stops one integration, starts it again 
and waits until it has started.

_Claude Code on behalf of davsclaus_

> camel-jbang - camel stop and restart wait and verify
> ----------------------------------------------------
>
>                 Key: CAMEL-25395
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25395
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> * {{camel stop}} waits for the process to exit (default {{--timeout=60s}}); 
> on timeout: {{ERROR: ... did not stop within 60s; use --kill}}, exit 124. 
> {{--no-wait}} for fire-and-forget; {{--kill}} unchanged.
> * {{camel restart}} reuses the stop logic, refuses to relaunch while the old 
> pid is alive (exit 124), waits until the new integration is Started, keeps 
> and prints the log path (today it is deleteOnExit), early death -> exit 1 
> with log tail.
> * Both: graceful shutdown via the pid file first, SIGTERM/SIGKILL only on 
> timeout or {{--kill}}.
> * Numeric pid without a Camel status file is rejected (today {{camel stop 
> 1234 --kill}} kills any process owned by the user).
> _Claude Code on behalf of davsclaus (Claus Ibsen)_



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

Reply via email to