In the from...to... you would do:

from(foo).routeId("CustomId").to(...)


On 24 July 2014 07:49, dermoritz <tantea...@hotmail.com> wrote:

> on which class i can found "setRouteId"? It seems not part of
> RouteDefinition
> (
> http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/model/RouteDefinition.html
> )
> - i can't put it within route definition (from...to....)?!
>
> but why to use another method here, until now this is working fine and doc
> says use setId:
> http://camel.apache.org/how-do-i-name-my-routes.html
>
> please help to understand
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/naming-routes-with-setId-doesn-t-work-on-a-specific-machine-tp5754365p5754383.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to