On Sun, Oct 17, 2010 at 8:38 PM, Christian Müller
<christian.muel...@gmail.com> wrote:
> Use routeId() as follwing:
>
> from("direct:start").routeId("myRoute")
> .to(mock:bar);
>

And in Spring XML you just do
<route id="foo">


> Cheers,
> Christian
>
> On Sun, Oct 17, 2010 at 8:19 PM, rguig saad <srg...@gmail.com> wrote:
>
>>
>> I've Used Camel Context Naming and found it very Useful .
>> Now I've seen that Routes has got inc names => "route1", "route2"....
>> My question: Is it possible to name routes ?
>>
>> -----
>>
>> Saad RGUIG
>> e-mail: srg...@systemix.fr
>> http://blog.systemix.fr
>> http://fr.linkedin.com/in/rguigsaad
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Camel-Routes-Names-tp3216492p3216492.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to