Thanks for quick reply!

Does it mean that you basically converts the GET query data from header to
POST body in xml?

There is no other way how to directly set the parameters into body within my
Bean (in java code)? Is there any documentation regarding the message body
content? I can see a lot of documents about integration (basically taking
out body from previous route element and converting to next in the route but
I really miss the info how to actually produce the message body by myself
and what structure it should be).

I've tried to make a map of parameters and set to body message with
converting to string (and from log I can see the camel converted the map to
query string) but I can't see any parameters coming in in my HTTP server I
am calling (Tomcat).

I actually didn't put there :

<camel:setHeader headerName="Content-Type">
<camel:constant>application/x-www-form-urlencoded</camel:constant>
</camel:setHeader> 

As I assumed the camel will do this automatically when sending POST request.

--
View this message in context: 
http://camel.465427.n5.nabble.com/HTTP-Post-component-parameters-tp4937377p4937440.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to