[
https://issues.apache.org/activemq/browse/CAMEL-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44283#action_44283
]
Freeman Fang commented on CAMEL-719:
------------------------------------
sorry, correct my typo from previous comment
since CAMEL-709 add getBody method to CxfMessage, so the code in
CxfBinding.createCxfMessage()
Object body = in.getBody(InputStream.class); will always return InputStream
object, which means the code will never run into the case that the message body
is List.class, but it will break the logic when the MESSAGEFORMAT is POJO for
camel-cxf, so we need try to getBody(List.class) firstly to fix it
> CxfBinding will never run into the code in case the messasge body is
> List.class
> -------------------------------------------------------------------------------
>
> Key: CAMEL-719
> URL: https://issues.apache.org/activemq/browse/CAMEL-719
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-cxf
> Reporter: Freeman Fang
> Fix For: 1.4.0
>
> Attachments: CAMEL-719.patch
>
>
> since CAMEL-709 add getBody method to CxfMessage, so the code in
> CxfBinding.createCxfMessage()
> Object body = in.getBody(InputStream.class); will never always return
> InputStream object, which means the code will never run into the case that
> the message body is List.class, but it will break the logic when the
> MESSAGEFORMAT is POJO for camel-cxf, so we need try to getBody(List.class)
> firstly to fix it
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.