Re: Unable to send the POST parameters value for REST Service

2014-10-23 Thread sayed_india
This can be done by changing the @PathParam to @FormParam and using URLEncoded. Hope this helps others. Thanks, Sayed -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-send-the-POST-parameters-value-for-REST-Service-tp5757760p5757944.html Sent from the Camel -

Unable to send the POST parameters value for REST Service

2014-10-19 Thread sayed_india
Hello, Following the sample code below works perfectly fine for REST GET method, But the POST method always inserts the null record, Can any one please suggest me in case of any change required. Route Builder: public void configure() throws Exception {

Re: Unable to send the POST parameters value for REST Service

2014-10-19 Thread Willem Jiang
You need to map the post Body into the message header, as the SimpleConsumer[1] just put the request body into the message body. [1]https://camel.apache.org/cxfrs#CXFRS-ConsumingaRESTRequest-SimpleBindingStyle -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: