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 <process ref="bean_name"> and have created a bean class implementing processor containing process method. In its process method, I am adding data in database table using datasource and jdbctemplate. But now my query is, I want to log from and to uri. I am getting from URI in the exchange but is there any way to get to URI. I tried to find out the solution, but couldnt find any. -- View this message in context: http://camel.465427.n5.nabble.com/getting-error-with-camel-sql-component-in-route-tp5734785p5734949.html Sent from the Camel - Users mailing list archive at Nabble.com.