You may also want to take a look at
http://camel.apache.org/loading-routes-from-xml-files.html



On Tue, Jun 28, 2011 at 4:15 PM, Claus Ibsen <[email protected]> wrote:
> On Tue, Jun 28, 2011 at 4:08 PM, fachhoch <[email protected]> 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: [email protected]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>



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

Reply via email to