james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAILBOX-211) Distributed IMAP notification - distribute mailbox events
Date Sat, 28 Nov 2015 13:16:10 GMT

     [ https://issues.apache.org/jira/browse/MAILBOX-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tellier Benoit resolved MAILBOX-211.
       Resolution: Fixed
    Fix Version/s: 0.6

Commits are on trunk.

> Distributed IMAP notification - distribute mailbox events
> ---------------------------------------------------------
>                 Key: MAILBOX-211
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-211
>             Project: James Mailbox
>          Issue Type: New Feature
>            Reporter: Tellier Benoit
>             Fix For: 0.6
>         Attachments: james-distributed-event-system.odp
> The Mailbox event system is limited to one James instance. This means if a user is connected
on a server A and if a mail arrives for him on server B, he will not get the notification.
> This means we need to send events to a message queue, so that they can be treated remotely
by other James server to send IMAP notifications.
> But we need to be carefull : we must not trigger some Listener : eg : Event must be treated
only once by MessageSearchIndex.
> What we can first notice is that Listener that must be triggered only once are Global
Listeners, other are per mailbox registered.
> What we just need to do is :
>   - send event in a per mailbox topic ( so that no James server will have scalibility
trubbles ). Imap subscription will be listening the topic of the mailbox they are targeting
threw the message queue. Global listener are called only once on the server submitting the
> Of course I will provide Spring defined beans and optionnal separated classes.
> What do you think of it ? 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message