camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Camel Guy <>
Subject mail component: Stopping consumer when there are no more mails to read
Date Wed, 14 May 2014 04:20:04 GMT

I'm using Camel 2.13.0 with the mail compoent (imaps:).

I would like to know when all messages have been fetched from the server so
I can stop polling.

I tried using sendEmptyMessageWhenIdle=true but my route never sees a null

Should I resort to a more manual PollingConsumer EIP approach?

Thank you

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message