It makes sense, I just filled a JIRA[1] for it.

[1]https://issues.apache.org/jira/browse/CAMEL-7181

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On February 8, 2014 at 9:35:48 AM, yirco ([email protected]) wrote:
>  
> Hi,
>  
> the CXF description states:
>  
> 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