Hi

You should set thread settings on the component level.


On Mon, Jun 10, 2013 at 11:21 AM, kuro <962...@gmail.com> wrote:
> I cannot set minThreads and maxThreads values when the endpoint is defined
> for the following uri .
>
> JettyHttpComponent (minThreads = null)
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="...............">
>   <camelContext xmlns="http://camel.apache.org/schema/spring";
> autoStartup="true" id="camel">
>     <endpoint id="Jetty1"
> uri="jetty:http://0.0.0.0:12000/test?minThreads=3&amp;maxThreads=5"; />
>     <route id="route_Jetty1">
>       <from ref="Jetty1" />
>       <setExchangePattern pattern="InOut" />
>       <to uri="mock://Mock" />
>     </route>
>   </camelContext>
> </beans>
>
> I'm using Camel 2.10.4,  2.11.0.
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/jetty-consumer-cannot-set-minThreads-and-maxThreads-from-uri-tp5734060.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to