Hi,

the CXF description states:

http://camel.apache.org/cxf.html#CXF-AttachmentSupport
<http://camel.apache.org/cxf.html#CXF-AttachmentSupport>  

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)/"

However, /org.apache.camel.component.cxf.DefaultCxfBinding/ explicitly
excludes attachments propagation for POJOs. This makes processing legacy
SOAP with attachments more difficult.

I suggest easing the condition for POJOs that do not use MTOM:

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/CXF-component-attachment-support-for-POJO-not-implemented-as-specified-tp5746952.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to