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 <[email protected]> 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: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to