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: reload routebuilder at runtime
Date Tue, 28 Jun 2011 14:15:15 GMT
On Tue, Jun 28, 2011 at 4:08 PM, fachhoch <fachhoch@gmail.com> wrote:
> what's the route id in my case?  how can I find it ?
>

Look up in the phonebook :)

Well joke aside. A route has an id. You can assign an explict id on a route

<route id="foo">
...
</route>

And in Java code you use .routeId

from("xxx").routeId("foo")...

You can also get the routes from CamelContext as it has API to get the
list of routes, so you can get the ids of the routes etc.
Just take a look at the API a bit.

>
> --
> View this message in context: http://camel.465427.n5.nabble.com/reload-routebuilder-at-runtime-tp4521292p4531888.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



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

Mime
View raw message