Hello,

I am wondering if there is a way, in a Camel route, to retrieve a kind of
"stop event" that might be sent from the context when asked for stopping?

Actually, one of my routes is processing a loop on multiple data and does a
long-running business task for each of these data. So when I try to stop the
Camel context, it uses the default shutdown strategy with the default
timeout but always finishes by killing my process. 

So I am looking for a way to catch, within a route, a "bubbling" stop event
coming from the context that could be used in my business loop to check
after each processing if the context is asking for shutdown and cleanly stop
my tasks. 

Is this possible?

-----
http://developpef.blogspot.com
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-stop-event-tp5567221p5567221.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to