You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by nigel <ni...@pimco.com> on 2014/06/20 01:02:54 UTC

Confusion over the Jetty component documentation and maxThreads

Hi,
Regarding the Jetty components documentation (looking at the 2.13.1 version)
I was initially under the impression that I could configure the max/min
Threads of the JettyHttpComponent using a URI on a 'from' clause. eg:
    from("jetty:http://host:port/path?minThreads=20&maxThreads=200").to()
When this didn't seem to work and I looked at the code it became apparent
that to configure the component I needed to create it and replace the
default bean with my own instance.

For me the documentation wasn't clear that the two tables named 'Options'
and 'Component Options' are to be used differently. There is a spring xml
sample further down the gave me the hint that I was doing it wrong ...

Am I alone in this or could a sentence or two be added to the docs.

Thanks
Nigel
 



--
View this message in context: http://camel.465427.n5.nabble.com/Confusion-over-the-Jetty-component-documentation-and-maxThreads-tp5752595.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Confusion over the Jetty component documentation and maxThreads

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

We love contributions, see here how you can help edit the docs
http://camel.apache.org/contributing.html

On Fri, Jun 20, 2014 at 1:02 AM, nigel <ni...@pimco.com> wrote:
> Hi,
> Regarding the Jetty components documentation (looking at the 2.13.1 version)
> I was initially under the impression that I could configure the max/min
> Threads of the JettyHttpComponent using a URI on a 'from' clause. eg:
>     from("jetty:http://host:port/path?minThreads=20&maxThreads=200").to()
> When this didn't seem to work and I looked at the code it became apparent
> that to configure the component I needed to create it and replace the
> default bean with my own instance.
>
> For me the documentation wasn't clear that the two tables named 'Options'
> and 'Component Options' are to be used differently. There is a spring xml
> sample further down the gave me the hint that I was doing it wrong ...
>
> Am I alone in this or could a sentence or two be added to the docs.
>
> Thanks
> Nigel
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Confusion-over-the-Jetty-component-documentation-and-maxThreads-tp5752595.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/