Hi, I need to control the number of threads processing messages in a camel
route.  I'm using the Spring DSL and Apache Camel 2.1.0 for my routes.  In a
boiled-down nutshell, my route looks like this.  Names of contexts, routes
and endpoints have been changed to protect the innocent =)

<!-- Used in the deployed system to connect one system to another via JMS
-->
<camelContext id="jms-input">
   <route>
       <from uri="jms:queue:some-input-queue"/>
       <!-- elided -->
       <to uri="vm:common-processor"/>
   </route>
</camelContext>

<camelContext id="common-processing-steps">
   <route>
      <from uri="vm:common-processor/>
      <!-- A bunch of stuff goes on here, elided -->
      <to uri="vm:some-customer-specific-processor-via-recipientList"/>
   </route>
</camelContext>

<camelContext id="some=customer-specific-processor">
   <route>
      <from uri="vm:some-customer-specific-processor"/>
      <!-- elided -->
   </route>
</camelContext>

I would like to limit threading in this model to two in each of the 3
routes.
-- 
View this message in context: 
http://old.nabble.com/Controlling-Threads-tp27404394p27404394.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to