I just solved the problem: the property ContentType was not set when using
the marshaller...

mart wrote:
> 
> I use JBI attachment for binary data, see BinaryMarshaler . Problem is I
> have trouble when it comes to convert the JBI + JBI binary attachment to a
> email/http/jms message with MIME attachment i have:
> 
> javax.mail.internet.ParseException
>         at javax.mail.internet.ContentType.<init>(ContentType.java:83)
>         at
> javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1249
> )
> [...]
> 
> 
> 
> Timothy High wrote:
>> 
>> Hi,
>> 
>> Thanks for your help! I guess we'll give it a shot, and see how it goes.
>> FYI, some of my coworkers have tried using Base64Encoded messaging
>> before, and warn me that there are a lot of pitfalls. If the ServiceMix
>> team (or anyone out there) decides to give it a shot, I'll hit them up
>> for more details!
>> 
>> Thanks,
>> Tim.
>> 
>> 
>> -----Original Message-----
>> From: apinke [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, July 24, 2006 3:57 AM
>> To: [email protected]
>> Subject: Re: Question about binary data
>> 
>> 
>> Hi Tim ,
>> 
>> I came across similar issues while using ServiceMix and unfortunately ,
>> I
>> did not find an easy way to solve these problems. I ended up puting the
>> binary data as an attachment in the message , but custom code is
>> required at
>> both the ends to get the data and convert it into something meaningful..
>> 
>> One idea is that SM can provide a Base64Encoded Message format ,
>> something
>> that skips the xml'izing altogether..
>> 
>> Pat
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Question-about-binary-data-tf1988217.html#a5462590
>> Sent from the ServiceMix - User forum at Nabble.com.
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Question-about-binary-data-tf1988217.html#a7094972
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to