camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Jetty component and HTTP parameter
Date Mon, 06 Jul 2009 14:19:56 GMT
You could get the parameters from the servlet request object which you 
can get from message body.
HttpServletRequest req = exchange.getIn().getBody(HttpServletRequest.class);

If you don't like it, please feel free to add a JIRA for it.


SwenVogel wrote:
> :wistle:, your absolutely right.
> With HTTP-GET it works fine and the two headers are created with the correct
> values.
> When using POST the CamelHttpQuery header is populated in the same way like
> using GET:
> CamelHttpQuery value: ein=1&zwei=2
> So, would it ok to process the CamelHttpQuery header and extract that
> values?
> The reason is that i want's to receive XML data but makes the processing 
> dynamic through options.
> Thanks for you patient help.

View raw message