camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexey-s <alex...@mail.ru>
Subject Re: How to stop the Polling Consumer?
Date Tue, 06 Aug 2013 13:31:26 GMT
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.

Mime
View raw message