camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Destroying Dynamically Add Routes
Date Thu, 07 May 2015 06:12:38 GMT
Hi

Yeah you can assign the route id with .routeId then you know the id.
Then you can stop and remove the routes by its id.


On Wed, May 6, 2015 at 10:57 PM, bonez05 <thibault.6@osu.edu> wrote:
> I'm adding dynamic routes during runtime by using
>
> context.addRoutes(new MyDynamicRouteBuilder(...) )
>
> I need a custom *.from()* location, which to my understanding I can't do
> with DynamicRouter EIP..
>
> context.addRoutes does not return a route id ... do I need to stop and
> shutdown the route when its done? How do I do this?
>
> Thanks
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Destroying-Dynamically-Add-Routes-tp5766785.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message