The ids are important to identify the endpoint to a front end tooling system.
Using the camel naming system. we get null ids for all the endpoints in the
multicast case for example
from("file://C:/Debug/from").multicast().to("file://C:/from","file://C:/from1","file://C:/from2");
Same is the case for CBR.
----
Siva Naresh.
James.Strachan wrote:
>
> 2009/7/7 siva naresh <[email protected]>:
>>
>> Hi all,
>>
>> I am trying to set ids on every endpoint in the following way.
>> But this seems to set ids on the entire route and not on the endpoint.
>
> BTW you had me confused a bit there. At first read I thought you
> wanted to do the XML equivalent of
>
> <endpoint id="abc" uri="file://whatnot"/>
>
> i.e. really to define endpoints by ID.
>
> However what you really want to do is put IDs on the route & steps
> (from/to) within the route.
>
> Just out of interest why do you want to do that? By default calling
> the idOrCreate() method on any node in a route will create an ID
> lazily for you?
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://fusesource.com/
>
>
--
View this message in context:
http://www.nabble.com/id%28%29-in-Java-dsl-tp24371134p24373581.html
Sent from the Camel - Users mailing list archive at Nabble.com.