You can use .convertBodyTo(String.class, "utf-8") to convert the file content into a utf-8 format.
from file convertBodyTo to activemq On Thu, Aug 11, 2011 at 3:54 PM, Viju <vvbiju2...@gmail.com> wrote: > This is what Im trying to do with Camel and AMQ > > Read a file that has special characters ( for e.g. års test). > Using Camel, I read the line in the file > Sends the line as a text message into the AMQ queue. > Using Camel, I dequeue the message. > When I read the body of the message, å is converted to ? > > Can you please suggest what needs to be done so that messages are sent in > UTF8 to AMQ from camel. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Special-characters-sent-via-Camel-to-ActiveMQ-tp4689608p4689608.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/