activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Edstrom <seij...@gmail.com>
Subject Re: Programmatically changing Camel routes
Date Thu, 23 Dec 2010 00:01:05 GMT
The StartStop routes test is probably a good start.

StartAndStopRoutesTest.java - it is in Camel - core.


On Dec 22, 2010, at 4:52 PM, Ivan L wrote:

> 
> 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 routes
> but I could not find how to do that.
> 
> Could someone please provide a code snippet? I am new to ActiveMQ and your
> help is much appreciated.
> 
> Thank you
> 
> -- 
> View this message in context: http://activemq.2283324.n4.nabble.com/Programmatically-changing-Camel-routes-tp3161449p3161449.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message