Using
log4j.logger.org.apache.camel.component.mail=DEBUG
should be fine.
I would like to see the log entries at the time Camel mark/flag more
messages as seen as messages were processed.

And could you please check whether do you see the same strange Java Mail
log messages (2 RECENT but no message found) if you use mail.jar 1.4.5.
Because this is the version we are using in Camel 2.11.0...

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, Jun 18, 2013 at 5:27 PM, cgiera <christoph.gi...@mic-cust.com>wrote:

> 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.
>

Reply via email to