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

Claus Ibsen commented on CAMEL-6981:
------------------------------------

Ah yeah you have this information already in java code if you have the model 
classes. 
See: org.apache.camel.model.OptionalIdentifiedDefinition#hasCustomIdAssigned

This method is on all the models in Camel routes.

Its just the XML representation that didn't have this information, so when you 
looked at the XML you wouldn't be able to know if the id was auto generated or 
custom assigned.

> Route model should include attribute if id is custom assigned or auto 
> generated
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-6981
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6981
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.3, 2.12.2, 2.13.0
>
>
> When a route is dumped as XML you may not know if the id is explicit assigned 
> or was auto generated. That information would be handy to know. 
> The information is already available but just not included in the XML dump.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to