camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dayakar <>
Subject Re: What the main Difference between Stoppping the Route and Suspending the Route
Date Mon, 06 May 2013 07:32:15 GMT
Thanks for your Reply

I Have gone through the link which you suggested.

But i have some doubts regarding Stop and suspending the route.

I Have a Route with following Code
			.process(new JobProcessor())		
If i stop the Above route by using camelContext.stopRoute(id) 
==> Does this stop the route and when we say startRoute(id) it start the new

If i suspend the Above route by using camelContext.suspendRoute(Id)
=>Does this suspend route for sometime and when we invoke resumeRoute(id) it
start the existing Route?

Can you please explain the exact when we need to use stopRoute(id) and
suspendRoute(id) with an examples

Thanks in advance 

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

View raw message