In the docs you could find a number of possibilities: http://camel.apache.org/clustering-and-loadbalancing.html
A solution could be to poll the mailbox and then put the messages on a jms queue and then poll them of the queue with concurrent consumers. This allows you to do the processing over different messages in different threads. http://camel.apache.org/jms.html Bart Horré Anova r&d bvba On Tue, Feb 3, 2015 at 8:43 AM, Mezai 279 <[email protected]> wrote: > I am using imaps in camel route to read emails from an inbox, it takes 7-8 > seconds for reading an email in the camel route. How can increase the > through put. I am expecting my inbox will be pounded with 5-6K emails an > hour. > > I am using the below options > > &delete=true&unseen=true&closeFolder=false&disconnect=false&consumer.delay=60000 > > Tried multple listeners (routes) but that reads all the emails on both the > listeners. > > Thanks > Sasi >
