camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5174) Avoid using the ActiveMQ org.apache.activemq.util.ListEditor with Camel type converters
Date Sun, 15 Apr 2012 11:03:16 GMT

    [ 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

        

Mime
View raw message