Hi,

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: 
http://camel.465427.n5.nabble.com/Camel-route-JMS-SOAP-JMS-tp5430745p5441339.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to