You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by alexey-s <al...@mail.ru> on 2013/08/06 15:31:26 UTC

Re: How to stop the Polling Consumer?

Hi, Claus.


http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html

Sample stop route after line
"And in the route we create the thread and call the stopRoute method as
shown:"
is no correct.

JavaDoc for method Thread start():
It is never legal to start a thread more than once.
In particular, a thread may not be restarted once it has completed
execution.

Change to



--
Aleksey



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-stop-the-Polling-Consumer-tp5443781p5736849.html
Sent from the Camel - Users mailing list archive at Nabble.com.