[ 
https://issues.apache.org/jira/browse/CAMEL-6250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646481#comment-13646481
 ] 

Babak Vahdat commented on CAMEL-6250:
-------------------------------------

If this's an expected behaviour then I'm missing something as to my 
understanding the {{Id}} attribute in a {{<from>}} tag corresponds to the 
{{Id}} field of {{FromDefinition}} as the Input.

If the user wants to set the {{Id}} on a given endpoint then this is done the 
way you have already explained @ user forum.

Also the expectation of the user is wrong as {{DefaultEndpoint#getId()}} 
returns the {{final}} field {{id}} having a unique value among all endpoints 
where only a getter and no setter is provided.
                
> Setting id on endpoint in <from> may not work
> ---------------------------------------------
>
>                 Key: CAMEL-6250
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6250
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.10.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.5, 2.11.1
>
>
> See nabble
> http://camel.465427.n5.nabble.com/How-to-get-Id-of-an-Endpoint-tp5730470.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to