Re: Programmatically changing Camel routes

2010-12-23 Thread Ivan L
Johan, Thank you. How do I get hold of the CamelContext instance that is defined in the ActiveMQ configuration. I looked at StartAndStopRoutesTest.java and it creates a new CamelContext. Regards -- View this message in context: http://activemq.2283324.n4.nabble.com/Programmatically-changing-Ca

Programmatically changing Camel routes

2010-12-22 Thread Ivan L
Hi, I have several routes defined in the ActiveMQ configuration. I need to be able to programmatically change the list the routes - add new and delete existing ones without changing the configuration and restarting the broker. I suppose I need to get hold of the Camel Context and then modify the