git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

camel-websocket configure maxThreads


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