You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2012/04/15 12:39:18 UTC

[jira] [Created] (CAMEL-5174) Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters

Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters
---------------------------------------------------------------------------------------

                 Key: CAMEL-5174
                 URL: https://issues.apache.org/jira/browse/CAMEL-5174
             Project: Camel
          Issue Type: Improvement
          Components: camel-jms
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.0


activemq-core includes a property editor that Camel will use as fallback type converter
org.apache.activemq.util.ListEditor

And this is a String -> List<ActiveMQDestination> converter which can be kicked in as fallback converter with Camel.
We should avoid using 3rd party property editors, but only rely on the built in from the JDK. Or provide them as core type converters.
As this can cause side effects.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5174) Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters

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

Claus Ibsen resolved CAMEL-5174.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.3

java beans property editor is no longer used for type conversion with Camel. 

The old class has been marked as @deprecated in camel-core, and not used. 


                
> Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5174
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5174
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.3, 2.10.0
>
>
> activemq-core includes a property editor that Camel will use as fallback type converter
> org.apache.activemq.util.ListEditor
> And this is a String -> List<ActiveMQDestination> converter which can be kicked in as fallback converter with Camel.
> We should avoid using 3rd party property editors, but only rely on the built in from the JDK. Or provide them as core type converters.
> As this can cause side effects.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5174) Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254304#comment-13254304 ] 

Claus Ibsen commented on CAMEL-5174:
------------------------------------

It would be best to not use the JDK PropertyEditors as all, as the may introduce side effects like that above.
                
> Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5174
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5174
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> activemq-core includes a property editor that Camel will use as fallback type converter
> org.apache.activemq.util.ListEditor
> And this is a String -> List<ActiveMQDestination> converter which can be kicked in as fallback converter with Camel.
> We should avoid using 3rd party property editors, but only rely on the built in from the JDK. Or provide them as core type converters.
> As this can cause side effects.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira