Hi

No its polling based. But I think there is a JIRA about a event based
but that would require the mail server to support this, and also to
implement the needed code to do so. Not sure if the java mail api
supports this.


On Wed, Aug 12, 2015 at 8:55 AM, NewCamelDev <[email protected]> wrote:
> Hi All, I am new to camel and we are using the camel mail component to read
> some emails on some fixed delay of 30 seconds. However our customer
> complaints on receiving these emails in our application and I believe
> decreasing the polling interval may increase the load on the server.
>
> Would there be an other way to retrieve the emails from camel mail
> component? Like registering a component that gets notified upon receiving an
> email in the mail box instead of polling?
>
> Thank you,
> Alapati.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-mail-component-to-get-email-notification-Instead-of-polling-tp5770598.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Reply via email to