You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <ji...@apache.org> on 2015/11/28 14:16:10 UTC

[jira] [Resolved] (MAILBOX-211) Distributed IMAP notification - distribute mailbox events

     [ 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 event.
> 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
(v6.3.4#6332)

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