camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Keenan <wayne.kee...@gmail.com>
Subject Re: HTTP parameter bug (was passing the HTTPServletRequest from Jetty to a SEDA consumer in Spring DSL)
Date Sat, 23 Jan 2010 13:29:42 GMT
Hi Willem,

Thanks very much, I can confirm that with 2.2-SNAPSHOT I can obtain the URI
QUERY parameters from the camel header(s) when POSTing content-type of
application/octet-stream.

I did notice that a HTTP PUT doesn't populate the headers with the URI Query
parameter

Regards
Wayne

On Fri, Jan 22, 2010 at 1:07 PM, Willem Jiang <willem.jiang@gmail.com>wrote:

> Hi Wayne,
>
> I commit a patch of CAMEL-2386, please check out the last
> camel-2.2-SNAPSHOT to verify it :)
>
> Willem
>
>
> Willem Jiang wrote:
>
>> I just did a quick test on camel trunk, you can get the URL parameters by
>> using the
>> exchange.getIn().getHeader(Exchange.HTTP_QUERY)
>> When you post the binary data with URI Query.
>>
>> I just took a look at camel-http and found we could parser the URL
>> parameter for the post method.
>>
>> So I created a JIRA[1] and will submit a quick fix for it.
>>
>> [1] https://issues.apache.org/activemq/browse/CAMEL-2386
>>
>> Willem
>>
>>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message