Re: getting error with camel sql component in route

2013-06-27 Thread indrayani
actually, i wanted to send the message as it is, just wanted to do some logging in the database. I have found out a way for the logging. I am using and have created a bean class implementing processor containing process method. In its process method, I am adding data in database table using data

Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
hi, any idea ,why am i getting the exception. i am stuck-up at this point. -- View this message in context: http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734797.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: getting error with camel sql component in route

2013-06-26 Thread Claus Ibsen
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 yo

Re: getting error with camel sql component in route

2013-06-26 Thread indrayani
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.

Re: getting error with camel sql component in route

2013-06-25 Thread Claus Ibsen
And you are using Camel 2.11.0 ? On Wed, Jun 26, 2013 at 8:10 AM, indrayani wrote: > Hi , > I am using following route > > > > > > > > > > > the DatabaseBean class contains following method : > > public Map g