Can some please explain me how does threadPool works in camel?

Let's say I have a default threadPool defined in camelContext:-

<threadPoolProfile id="defaultThreadPoolProfile"

defaultProfile="true" poolSize="50" maxPoolSize="500" maxQueueSize="5000"

rejectedPolicy="CallerRuns" />

Also let's say I have some routes defined as below:-

from("jetty:http://localhost:8888/orchestratorservice";).process(processor);

from("direct:setStatusToReadyToShip").to("bean:orderHelper?method=setStatusToReadyToShip")

Will the threads in jetty be limited by the size of
defaultThreadPoolProfile?

Also let's say I create one more threadPool of size greater than the pool
size of defaultThreadPoolProfile in the orderBeans, how will this
threadPool behave?

If I don't define any defaultThreadPool in camelContext what default values
it take?

Reply via email to