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 (Commented) (JIRA)" <ji...@apache.org> on 2012/04/15 13:03:16 UTC
[jira] [Commented] (CAMEL-5174) Avoid using the ActiveMQ
org.apache.activemq.util.ListEditor with Camel type converters
[ 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