You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/08/02 10:13:50 UTC

[jira] [Commented] (CAMEL-6602) camel-cxf ClassCastException when use cxf FailoverFeature

    [ https://issues.apache.org/jira/browse/CAMEL-6602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727474#comment-13727474 ] 

Willem Jiang commented on CAMEL-6602:
-------------------------------------

Can you submit a simple test case for us to dig the issue?
                
> camel-cxf ClassCastException when use cxf FailoverFeature
> ---------------------------------------------------------
>
>                 Key: CAMEL-6602
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6602
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.9.7
>            Reporter: Ming ZI
>
> With PAYLOAD data format used, the first element in argument is casted to a CxfPayload instance and the argument is changed into a List<DOMSource> instance by the method "setParameters" in class org.apache.camel.component.cxf.CxfEndpoint.
> Then FailoverFeature calls retry, the class-cast action throws a ClassCastException.
> btw: "message.remove(DataFormat.class)" at the end of the method "setParameters" dosn't work. The method "remove" is inherited from Map, and a new message with data format PAYLOAD is created when retry.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira