Re: SpringCamelContext suspend default behaviour

2014-10-14 Thread Willem Jiang
suspend is not like shutdown, it just suspend the route services and you can 
resume the route services without spend lots of time.
If it takes a long time to suspend the camel context, maybe there are some 
inflight messages which are not processed. Maybe you can go through the log for 
more information.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On October 14, 2014 at 9:26:23 AM, rrajen2 (rrajend...@capario.com) wrote:
 Hi
 I am using SpringCamelContext's suspend() function. What is it behaviour?
 What happens to routes which take a long time to suspend?
  
  
  
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/SpringCamelContext-suspend-default-behaviour-tp5757521.html
   
 Sent from the Camel - Users mailing list archive at Nabble.com.
  



Re: SpringCamelContext suspend default behaviour

2014-10-14 Thread rrajen2
thx for the reply. incase if suspend() is not able to suspend a given route,
will it kill that route after a specific period of time and continue with 
suspending the rest of the routes. I don't see any timeout parameter in the
suspend method to configure the timeout period as well. Please elaborate
more. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/SpringCamelContext-suspend-default-behaviour-tp5757521p5757567.html
Sent from the Camel - Users mailing list archive at Nabble.com.