OptionalIdDefinition should use JAXB accessor type property to ensure customId 
is marked when setting id
--------------------------------------------------------------------------------------------------------

                 Key: CAMEL-4052
                 URL: https://issues.apache.org/jira/browse/CAMEL-4052
             Project: Camel
          Issue Type: Improvement
          Components: camel-spring
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0


This ensure that when creating routes using XML then any custom assigned id on 
the xml tags are noticed by Camel.

{code}
    public void setId(String value) {
        this.id = value;
        customId = true;
    }
{code}

To remedy this we need JAXB to invoke the method above which it does using 
property accessor.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to