camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6602) camel-cxf ClassCastException when use cxf FailoverFeature
Date Thu, 08 Aug 2013 02:51:47 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang resolved CAMEL-6602.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
                   2.11.2
                   2.10.7
    
> 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
>            Assignee: Willem Jiang
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>         Attachments: test.zip
>
>
> 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

Mime
View raw message