Hi

You can configure them on the component level, see the table in the docs
https://github.com/apache/camel/blob/master/components/camel-websocket/src/main/docs/websocket-component.adoc

So you can define a <bean id="websocket"
class="....WebSocketComponent"> where you setup these options
On Thu, Dec 13, 2018 at 2:28 AM Bradford Fisher
<bradf...@bradfordfisher.com> wrote:
>
> I am having trouble determining where or how to configure the
> camel-websocket maxThreads settings.
>
> I'm running Karaf 4.2.1 and have installed features camel-blueprint and
> camel-websocket.
>
> I'm attempting to create a new websocket endpoint with the following
> blueprint:
>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
>     <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
>         <route>
>             <from uri="websocket://0.0.0.0:8080/echo" />
>             <to uri="websocket://0.0.0.0:8080/echo" />
>         </route>
>     </camelContext>
> </blueprint>
>
>
> It seems that the initial value of (1 + 2 * cores === 3) on a single core
> virtual machine is too low to start this single endpoint.
>
> Does anyone know how to increase the maxThreads count?
>
> Thanks in advance!
>
> - Brad



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to