You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2012/08/13 09:03:53 UTC

Re: Scala DSL - How do I give a route an id

On Mon, Jul 30, 2012 at 6:25 PM, Lance Walton <la...@mac.com> wrote:
> Hi.
>
> I'm using the Scala DSL to add routes to the CamelContext. However, I also want to be able to remove some of these routes from the CamelContext later. I can see how to do this if I have a route id, but I can't see how to assign an id to a route in the DSL. Can anyone point me at the right thing?
>

There is a .routeId in the DSL to assign the id.

> Thanks,
>
> Lance
> _________________
>
> http://www.stateofflow.com
> http://www.casualmiracles.com
> http://www.twitter.com/lancewalton
> +44 (0)7779 026533
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen