Use routeId() as follwing:

from("direct:start").routeId("myRoute")
.to(mock:bar);

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.
>

Reply via email to