I will have a look at it if I find some time later this week... Best,
Christian Müller ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Tue, May 28, 2013 at 9:54 AM, cgiera <christoph.gi...@mic-cust.com>wrote: > Ok, i see fetchSize is also a parameter. > > The only way to don't lose mails in my testcase is to set fetchSize to 1. > But that's not a solution, it's only a workaround. > > I'm sorry I couldn't find the problem by myself, I could only say it has > something to do with the folder.isOpen check. After this all fetched mails > are marked as seen, but only 1 message is processed. > > > cgiera wrote > > Even if I set the maxMessagesPerPoll option to 1, the fetchsize in this > > case is -1. > > So all messages will be looped in this case. > > In debug mode I have changed the value of the fetchSize to 1 and only one > > message gets marked as SEEN. > > > > I'm not sure if this is solving the whole problem. > > > > kind regards, > > Christoph > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/MailComponent-MailConsumer-misses-Mails-tp5733010p5733325.html > Sent from the Camel - Users mailing list archive at Nabble.com. >