Michelle,

There are a number of ways you can do that and it will depend on what is
constraining your REST API.  Is it limited on the number of concurrent
connections?  Is it limited to the number of transactions/minute?  There are
at least two components you'll want after the JMS queue.  One will be a
thread pool limiting/defining the number of worker threads.  The second will
be a Throttler EIP.

http://camel.apache.org/throttler.html



--
View this message in context: 
http://camel.465427.n5.nabble.com/Best-Strategy-to-process-a-large-number-of-rows-in-File-tp5779856p5779901.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to