camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jey350 <>
Subject Camel gracefull shutdown with exec:
Date Fri, 23 May 2014 09:09:13 GMT

I have an issue with a gracefull shutdown of a route containing an exec
command, because the route is stopped after the exe command and what follows
is not processed.

With a sample it will be esasier to undersand:

  <process ref="process1"/>
  <to uri="exec:mycommand/>
  <process ref="process2"/>

If the shutdown command is launched while process1, the exec will run but
not process2.

I can precise the timeout is not reached, with a to:direct trick it's the
same, and I'm using Camel 2.10.

Any idea to let the route finish while shutdown ?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message