I've found the code which forces all fetched messages to get marked as SEEN
even I have set the maxMessagesPerPoll option to 1.

<http://camel.465427.n5.nabble.com/file/n5733267/screenshot.png> 

I just can't understand what is going wrong here, after flushBuffer of this
OutputStream all messages are marked as seen.

kind regards,
Christoph


cgiera wrote
> Ok, this was a big mistake, when i set the maxMessagesPerPoll option to 1
> and the pollinginterval to 1 sec only every ~ 5th message will be
> processed!!
> The second test route sends every second 4 messages to the inbox.
> 
> I spend a lot of time with debugging now but I wasn't able to find the
> code segment where this goes wrong.
> cgiera wrote
>> The missing mails can be reduces when setting maxMessagesPerPoll to a
>> small number, but it doesn't solve the problem.
>> 
>> kind regards,
>> Christoph





--
View this message in context: 
http://camel.465427.n5.nabble.com/MailComponent-MailConsumer-misses-Mails-tp5733010p5733267.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to