camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Camel Spring HTTP Consumer using remote Rest web service
Date Thu, 09 Oct 2014 01:22:36 GMT

I think Charles already show you how to do it by using setBody DSL.
BTW, if you using direct:start, you need to use producer template to send the message to the
direct:start endpoint to kick the route.

Willem Jiang

Red Hat, Inc.
Blog: (English) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem

On October 9, 2014 at 5:16:29 AM, camelcoder07 ( 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:
> Sent from the Camel - Users mailing list archive at

View raw message