Did you try using routeId?

    from("direct:start")
      .routeId("foo")
      ...

On Mon, Jul 30, 2012 at 1:59 PM, Lance Walton <[email protected]> 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?
>
> Thanks,
>
> Lance
> _________________
>
> http://www.stateofflow.com
> http://www.casualmiracles.com
> http://www.twitter.com/lancewalton
> +44 (0)7779 026533
>
>


-- 
Cheers,
Jon
---------------
FuseSource
Email: [email protected]
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to