camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Camel route JMS -> SOAP -> JMS
Date Mon, 30 Jan 2012 13:17:52 GMT

setOutHeader doesn't copy the message body, you'd better use the 
setHeader to that kind of job.

On Mon Jan 30 20:59:18 2012, marnold wrote:
> I played around with custom TypeConverters with no luck.  I couldn't
> understand the messageConverter documentation and wanted to avoid all things
> Spring.
> On a whim I removed the<setOutHeader>  and found I was right in that the
> payload is automatically converted to the JMS message body.  For some reason
> the presence of the<setOutHeader>  clears the message body.  If I use
> <setHeader>  (rather than<setOutHeader>), I retain the message body and have
> the JMSCorrelationID set appropriately.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Blog: (English) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang 

View raw message