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.

Reply via email to