camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yirco <>
Subject CXF component attachment support for POJO not implemented as specified
Date Fri, 07 Feb 2014 21:30:29 GMT

the CXF description states:

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:
Sent from the Camel - Users mailing list archive at

View raw message