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


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.

Reply via email to