Re: Using Message Headers & Body into Camel SQL Insert statement

2015-12-18 Thread Shiv
Thanks for the reply. Headers are getting accessible with :#HeaderName format. Any idea how we can access the body? -- View this message in context: http://camel.465427.n5.nabble.com/Using-Message-Headers-Body-into-Camel-SQL-Insert-statement-tp5775107p5775269.html Sent from the Camel - Users

Re: Using Message Headers & Body into Camel SQL Insert statement

2015-12-16 Thread Matt Sicker
is also not working > SQLInsertQuery=insert into Message (messageId, messageBody) > values(:#${header.JMSMessageID}, :#${body}') > > > My route calls below but insert is failing in call cases. > > > Am I missing anything in expression? > > Thanks for input. > Shiv &

Using Message Headers & Body into Camel SQL Insert statement

2015-12-15 Thread Shiv
s for input. Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Using-Message-Headers-Body-into-Camel-SQL-Insert-statement-tp5775107.html Sent from the Camel - Users mailing list archive at Nabble.com.