camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4052) OptionalIdDefinition should use JAXB accessor type property to ensure customId is marked when setting id
Date Sat, 04 Jun 2011 15:44:47 GMT
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

Mime
View raw message