camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: id() in Java dsl
Date Tue, 07 Jul 2009 14:53:15 GMT
On Tue, Jul 7, 2009 at 4:47 PM, siva naresh<vssnaresh@gmail.com> wrote:
>
> someNode.getId() is called during debug interceptor call and it should be
> returning whatever was set for that node during initialization of
> camelcontext.
>
Hi

Let me add an unit test in the Java DSL that sets some custom ids.
And see if I can get them later.


> ----
> Siva Naresh.
>
>
>
> James.Strachan wrote:
>>
>> 2009/7/7 siva naresh <vssnaresh@gmail.com>:
>>>
>>> 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.
>>
>> An even easier fix then, replace the code which does
>>
>> someNode.getId()
>>
>> with
>>
>> someNode.idOrCreate()
>>
>> :)
>>
>> --
>> 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-tp24371134p24374391.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message