Hi

I'm trying to transition from using Java DSL in a standalone Java setup to
using Spring DSL routes deployed in Spring. So far I have a basic route
configured and Camel generate the route succesfully but I'm not sure if it
get's started, and if it does if it has enough time to complete the route
before the program terminates. 

When starting a context from a main method via. standard Java we use
Thread.sleep() to ensure that the route has time to finish - do we need to
do something similar when running the routes in Spring?
-- 
View this message in context: 
http://old.nabble.com/Thread.sleep%28%29-equivalent-using-Spring--tp28590338p28590338.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to