You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/04 17:44:47 UTC

[jira] [Created] (CAMEL-4052) OptionalIdDefinition should use JAXB accessor type property to ensure customId is marked when setting id

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

[jira] [Resolved] (CAMEL-4052) OptionalIdDefinition should use JAXB accessor type property to ensure customId is marked when setting id

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4052.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

> 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
>            Assignee: 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