gnodet wrote:
> 
> The reason is that when using the DataHandler, the object is not
> really serialized.
> You need to make sure the object is serialized, or use a single copy
> (which will prove to be difficult if using the JBI packaging).
> To serialize the object, you could use a ObjectOutputStream /
> ObjectInputStream pair.
> 

Thanks, the serializing approach works.

Regards,
Martin

-- 
View this message in context: 
http://www.nabble.com/Strange-ClassCastException-on-sending-an-object-as-attachment-from-one-smx-bean-to-another-tp20933798p20936413.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to