camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Jetty Producer httpClientMinThreads/httpClientMaxThreads appear on remote system
Date Tue, 11 Sep 2012 07:45:18 GMT
On Mon, Sep 10, 2012 at 5:26 PM, mstiller <ms@2scale.net> wrote:
>
> Claus Ibsen-2 wrote
>>
>> On Mon, Sep 10, 2012 at 4:18 PM, mstiller &lt;ms@&gt; wrote:
>>> Hi,
>>>
>>> i have a Akka-Camel System using Akka 1.3.1 and Camel-Core/Jetty 2.10.1.
>>>
>>> Created a producer like this:
>>>
>>> class XyzProducer(name: String, var config: Config) extends Actor ...
>>> with
>>> Producer with Logger {
>>>   val endpointUri = "jetty:" + configureEndpointUri(name, config)
>>>
>>>   info("Configured endpoint: " + endpointUri)
>>>
>>> This logs:
>>>
>>> INFO Configured endpoint:
>>> jetty:http://127.0.0.1:3000/?httpClientMinThreads=2&httpClientMaxThreads=6&httpClient.maxConnectionsPerAddress=4
>>>
>>> It's configured according to http://camel.apache.org/jetty.html. Ok so
>>> far.
>>>
>>> But if i run the system, the endpoint parameters httpClientMinThreads and
>>> httpClientMaxThreads appear on the remote system (but not
>>> httpClient.maxConnectionsPerAddress):
>>>
>>> The remote logs: GET
>>> /?httpClientMaxThreads=6&httpClientMinThreads=2&p1....
>>>
>>
>> They are component options. You need to set them on JettyComponent.
>>
>
> How do i do this?
>

Ask the Akka guys.



>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Jetty-Producer-httpClientMinThreads-httpClientMaxThreads-appear-on-remote-system-tp5719047p5719054.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message