Hi,
how do yo load your camel context?
It's possible to start a service berfore adding de route definitions on the
startup's process where camel context is configuring, per example, if you're
on JBoss and implement a JBoss module using application listener.
Another way I suppose could solve your question is to create a non lazy
loaded spring bean and refer it as depends-on property on yours initializing
spring config.
Regards.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Best-practice-with-external-code-tp4911026p4911314.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to