I was able to accomplish this by using the xStream classes to convert pojo's
to/from xml.  The main concern for this is that the class being 'attached'
is serializable.

James


gnodet wrote:
> 
> You can set it as a property on the message exchange.
> However, each component has its own classloader,
> so you need to put your POJO class in the container
> classloader, or sent it in a binary form (or an xml form ;-)
> 
> On 3/24/07, aharsola <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> I want to send a POJO as attachment to Normalized message from one
>> component
>> to another. Can someone help me on how to do it?
>>
>> Regards,
>> Amit
>> --
>> View this message in context:
>> http://www.nabble.com/Sending-POJO-as-attachment-from-one-component-to-another-tf3457863s12049.html#a9647818
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Sending-POJO-as-attachment-from-one-component-to-another-tf3457863s12049.html#a9741081
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to