camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <aka...@fusesource.com>
Subject Re: Convert jms message from textmessage to bytemessage
Date Thu, 16 Feb 2012 13:57:45 GMT
Hi,

You might want to use a type converter to convert the BytesMessage into a
String. Please check out the convertBodyTo() operation in DSL...

http://camel.apache.org/convertbodyto.html
http://camel.apache.org/convertbodyto.html 

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Convert-jms-message-from-textmessage-to-bytemessage-tp4895362p5489576.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message