Hi Could it be the curl command is wrong? To use a file you may have to use the -f option. Google curl a bit, such as http://superuser.com/questions/149329/how-do-i-make-a-post-request-with-the-curl-command-line-tool
On Mon, Sep 5, 2011 at 1:57 PM, heinrichheine <[email protected]> wrote: > Hi, > i have a jetty http endpoint that receives XML data via http post. > I realized that the payload is put into the header of a message, thats > normal, but the key of the key=value pair in the header for the payload is > "<? xml version" and the value is the rest of my xml payload. > > As my payload begins with "<xml version="1.0" encoding="UTF8"?>...." camel > seems to take the first part of the payload until the first "=" as key and > the rest as value. > Is this a known issue? > I use Camel 2.5 > I'm pushing to the endpoint using #>curl -d @filename > "http://127.0.0.1:55000" > > Greetings > martin > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Pushed-XML-payload-via-http-is-put-in-headers-as-xml-version-payload-tp4770235p4770235.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
