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.
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.