[ https://issues.apache.org/jira/browse/CAMEL-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988684#comment-12988684 ]
Willem Jiang commented on CAMEL-3580: ------------------------------------- Applied patch with thanks Stephan, also fixed some Check style issues. > Type converter for CXFPayload data type > --------------------------------------- > > Key: CAMEL-3580 > URL: https://issues.apache.org/jira/browse/CAMEL-3580 > Project: Camel > Issue Type: Improvement > Components: camel-cxf > Reporter: Stephan Siano > Assignee: Willem Jiang > Fix For: 2.7.0 > > Attachments: cxftypeconverter.diff > > > In the current implementation a cxfEndpoint in PAYLOAD mode will only be able > to communicate with another cxfEndpoint but not with any other endpoint like > xslt without explicit type conversion. This happens because cxfEndpoints in > PAYLOAD mode require payloads of the CXFPayload type and there are no type > converters for this type. > Since the CXFPayload type is actually less or more a wrapped DOM tree, it is > pretty easy to provide a set of type converters for this datatype (reusing > the existing type converters for DOM elements). The attached patch does this. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira