The problem is when sending to JMS queue, then the message body is a
HashMap type. And Camel expects a body to be compatible with an
InputStream.

So what JMS message do you want to send to the JMS queue?

If you really want to use a Map, then set jmsMessageType=Map on the
activemq endpoint.

If you want some text body etc, then you need to set the body to some
value before sending to the activemq queue.

On Wed, Jun 26, 2013 at 8:49 AM, indrayani <ind.k...@gmail.com> wrote:
> yes 2.11.0
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734791.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to