You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Elvio Caruana (ecaruana)" <ec...@cisco.com> on 2014/04/12 12:24:41 UTC
http4 component - increasing maxTotalConnections and
connectionsPerRoute
Hi,
I'm trying to increase the maxTotalConnections and connectionsPerRoute in an http4 endpoint, but to no avail (the defaults are still being used). I'm appending
maxTotalConnections=xxx&connectionsPerRoute=yyy as per documentation page here: https://camel.apache.org/http4.html.
Thanks,
Elvio
RE: http4 component - increasing maxTotalConnections and connectionsPerRoute
Posted by Carsten Ringe <ca...@kopis.de>.
Hi Elvio,
can you give some more details on your problem and your solution?
I'm having some issues with http4 consumer and a scheduler at the moment, resulting in multiple calls to a URL every 10 seconds instead of only one at my configure cron expression... Maybe it's a similar issue and I can set the scheduler options via spring too.
Carsten
RE: http4 component - increasing maxTotalConnections and
connectionsPerRoute
Posted by "Elvio Caruana (ecaruana)" <ec...@cisco.com>.
Fixed - managed to set it via spring by setting the property on the component. It's not a uri option.
-----Original Message-----
From: Elvio Caruana (ecaruana)
Sent: 12 April 2014 11:25
To: users@camel.apache.org
Subject: http4 component - increasing maxTotalConnections and connectionsPerRoute
Hi,
I'm trying to increase the maxTotalConnections and connectionsPerRoute in an http4 endpoint, but to no avail (the defaults are still being used). I'm appending maxTotalConnections=xxx&connectionsPerRoute=yyy as per documentation page here: https://camel.apache.org/http4.html.
Thanks,
Elvio
Re: http4 component - increasing maxTotalConnections and
connectionsPerRoute
Posted by Willem Jiang <wi...@gmail.com>.
The document is right, these options are just for the HttpComponent.
But we could be able to set these parameters through URI option, I just filled a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-7362
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On April 12, 2014 at 6:25:16 PM, Elvio Caruana (ecaruana) (ecaruana@cisco.com) wrote:
> Hi,
>
> I'm trying to increase the maxTotalConnections and connectionsPerRoute in an http4
> endpoint, but to no avail (the defaults are still being used). I'm appending
> maxTotalConnections=xxx&connectionsPerRoute=yyy as per documentation page here:
> https://camel.apache.org/http4.html.
>
>
> Thanks,
> Elvio
>