camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cgiera <christoph.gi...@mic-cust.com>
Subject Re: MailComponent/MailConsumer misses Mails
Date Tue, 18 Jun 2013 15:27:14 GMT
Hello,

I've updated our customers qa system to camel 2.11.0 and mail 1.5 now.
We've added some test routes to send mails to the mail box we are reading
from and had a look at it 
if mails are missing.
After ~1 hour we saw that sent mails vs. received mails was not equal
anymore and analyzed the log files.
I've found the log entries where something is wrong:

There are 2 recent mails, but they were not fetched:
INFO   | jvm 1    | 2013/06/18 16:32:21 | * 2 RECENT
INFO   | jvm 1    | 2013/06/18 16:32:21 | * SEARCH
INFO   | jvm 1    | 2013/06/18 16:32:21 | A2749 OK Completed (0 msgs in
0.000 secs)

For comparing here are log entries where mails are consumed correctly:

2 Recent and 2 fetched
INFO   | jvm 1    | 2013/06/18 16:32:43 | * 2 RECENT
INFO   | jvm 1    | 2013/06/18 16:32:43 | * SEARCH 1069 1070
INFO   | jvm 1    | 2013/06/18 16:32:43 | A2777 OK Completed (2 msgs in
0.000 secs)

Here is the setup of our routes:
Consumerroute:
imap://<ip-adress>?consumer.delay=3000&consumer.useFixedDelay=true&debugMode=true&fetchSize=1&password=...._&unseen=true&username=....

2 routes which send to the mailbox:
timer://foo?fixedRate=true&period=27000
timer://foo2?fixedRate=true&period=29000


I've activated mailDebug option on the consumer route and additionally some
log4j logging:
log4j.logger.org.apache.camel.component.mail=TRACE
log4j.logger.org.apache.camel.impl=TRACE

Pls let me know if I you need other logs or how I should adjust log4j to get
more logs out of the MailComponent.

kind regards,
Christoph



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

Mime
View raw message