camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mstiller ...@2scale.net>
Subject Re: Camel Jetty Producer httpClientMinThreads/httpClientMaxThreads appear on remote system
Date Mon, 10 Sep 2012 15:26:47 GMT

Claus Ibsen-2 wrote
> 
> On Mon, Sep 10, 2012 at 4:18 PM, mstiller <ms@> 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? 



--
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.

Mime
View raw message