On Mon, Sep 10, 2012 at 4:18 PM, mstiller <m...@2scale.net> 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.


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



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

Reply via email to