camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Minh Tran <darth.minhs...@gmail.com>
Subject Re: http4 ignoring CamelHttpPath
Date Thu, 27 Aug 2015 21:59:31 GMT
Oh I didn't notice the incorrect case. Thanks for looking into this, much appreciated!

On 28/08/2015, at 7:53 AM, Raul Kripalani <raul@evosent.com> wrote:

> On Thu, Aug 27, 2015 at 4:16 AM, Minh Tran <darth.minhster@gmail.com> wrote:
> 
>> <to
>> uri="http4:myhost:80?httpclient.connectTimeout=10000&amp;httpclient.socketTimeout=120000"/>
>> 
> 
> You have a typo related to casing. The option prefixes are httpClient
> (capital C, using lowerCamelCase).
> 
> Nevertheless, we do have a bug because your options are being interpreted
> as query parameters, so Camel should really be invoking this URL:
> 
> http://myhost:80/my/path?httpclient.connectTimeout=10000&httpclient.socketTimeout=120000
> 
> But is instead using this URL:
> 
> http://myhost:80?httpclient.connectTimeout=10000&httpclient.socketTimeout=120000/my/path
> 
> (path and query parameters are concatenated in the wrong order).
> 
> Working on that: CAMEL-9104
> 
> Regards,
> 
> *Raúl Kripalani*
> Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> Integration specialist
> http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> http://blog.raulkr.net | twitter: @raulvk


Mime
View raw message