FYI, in my previous message, I was referring to class 
"org.apache.servicemix.cxfse.interceptors.AttachmentInInterceptor" which gets 
added in the CxfSeEndpoint.validate() method. Shouldn't there also be a 
"org.apache.servicemix.cxfse.interceptors.AttachmentOutInterceptor" class which 
should get added here as well if mtom is enabled? Or am I missing something?

- Ron


----- Original Message ----
From: Freeman Fang <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, April 29, 2008 11:16:17 PM
Subject: Re: CXF-SE Support for outgoing attachments

Hi Ron,

For outgoing attachments, we reuse the AttachemntOutInterceptor from 
CXF, you can see the code piece in the CxfBcProvider
        if (isMtomEnabled()) {
            outList.add(new JbiOutInterceptor());
            outList.add(new MtomCheckInterceptor(true));
            outList.add(new AttachmentOutInterceptor());
           
        }
If possible, would you please append your test case, which is easy for 
me to reproduce the problem.

Thanks

Freeman

Ron Gavlin wrote:
> Greetings,
>
> In SM-1109, I see that inbound attachment support was added to CXF-SE via the 
> AttachmentInInterceptor.java class. However, I do not see a corresponding 
> interceptor for handling outgoing attachments. Also, in my testing, I am not 
> seeing JBI attachments created for my outgoing base64 binaries. Is this a bug?
>
> - Ron
>
>
>
>   




Reply via email to