camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: http4 ignoring CamelHttpPath
Date Thu, 27 Aug 2015 21:53:19 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message