Hi,

this change breaks the backward compatibility of the CXF component as
published on the camel site:

Attachment Support

POJO Mode: 
*Attachments are propagated to Camel message's attachments since 2.1.  So,
it is possible to retreive attachments by Camel Message API DataHandler
Message.getAttachment(String id)*

There are legacy SOAP systems that do not properly implement MTOM and this
change makes it more difficult to integrate with them. I suggest adjusting
the conditions in org.apache.camel.component.cxf.DefaultCxfBinding

if dataFormat is POJO and properties.mtom-enabled is false, propagate the
attachments into and from the camel Exchange.

Thank you.




--
View this message in context: 
http://camel.465427.n5.nabble.com/jira-Created-CAMEL-3643-camel-cxf-should-not-copy-the-attachments-between-the-CXF-and-Camel-message-t-tp3377258p5746749.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to