[ https://issues.apache.org/activemq/browse/CAMEL-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60466#action_60466 ]
Claus Ibsen commented on CAMEL-2915: ------------------------------------ Do *not* use {{Class.forName}} to load classes. This doens't go well in various runtime environments such as OSGi, J2EE servers and whatnot. Camel provides an API for loading classes, you access from {{CamelContext}}, using {{getClassResolver}} which then has methods for loading classes. > Support more XStream configurations > ----------------------------------- > > Key: CAMEL-2915 > URL: https://issues.apache.org/activemq/browse/CAMEL-2915 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core, camel-xstream > Reporter: Mark Proctor > Assignee: Hadrian Zbarcea > Fix For: 2.4.0 > > Attachments: camel-core.diff, camel-xstream.diff > > > Current the XStream DataFormatDefinition cannot be configured, beyond > encoding. At a minimum it shoul support Converters, Aliases an Implicit > Collections. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.