camel-users mailing list archives

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

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:

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

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 ?

Thanks.








--
View this message in context: http://camel.465427.n5.nabble.com/Camel-gracefull-shutdown-with-exec-tp5751510.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message