Hi all!
As some of you know i'm trying to implement IMAP IDLE. while doing it , i
need some way to notify the session of changes in the mailbox.
At the moment i have a service running on james startup, and receiving the
notifications, these notifications are received using jgroups. To achive
this i created a new service that starts at the initialization phase along
with IMAP server and remote management service, i know that Imap extends
from abstractjamesservice, instead my service (the notifications receiver  )
extends from AbstractLogEnabled and implements Serviceable, Configurable,
Disposable, Initializable, ObjectFactory, NotificationProvider.
NotificationProvider is an interface that means that this server can notify
for changes, and that it contains a list of listeners.

So after this "brief" description here goes the question: how can i register
Imapserver (or imapsession) as a listener for this service?
the idea is that when Imapserver (or imapsession) is notified it writes a
message to the client indicating the changes (folowing IDLE spec)

Cheers, and thanks again for all the help you guys are giving me :)

Paulo F.

Reply via email to