Hi, ContentType should be passed as Apache Camel Header Example : setHeader("Content-Type", "application/json")
Regards, On Wed, Oct 8, 2014 at 11:16 PM, camelcoder07 <dmhu...@hotmail.com> wrote: > I fixed this issue now by using a timer instead of direct:start. > > Can anyone tell me how to set the body type to application/json when > sending > the data to the web service? > > Thank you > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757420.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io