Thanks again Bart I was trying the solution you proposed, only challange is reading email from INBOX and placing on a JMS queue was taking around 6-7 seconds. I have implemented a route to distribute emails to multiple folders from INBOX and created multiple listeners on these folders.
-Thanks Sasi On Wed, Feb 4, 2015 at 2:15 PM, Bart Horré <b...@anova.be> wrote: > 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 <mezai....@gmail.com> 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 > > >