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 2019/01/11 09:59:00 UTC

[jira] [Resolved] (MAILBOX-368) Implement a work queue for listeners

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

Tellier Benoit resolved MAILBOX-368.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.0

https://github.com/linagora/james-project/pull/2084 solved this

> Implement a work queue for listeners
> ------------------------------------
>
>                 Key: MAILBOX-368
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-368
>             Project: James Mailbox
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Following work done in MAILBOX-367 we will handle asynchronous execution for listener, as defined in API MAILBOX-364
> {code:java}
> interface EventBus {
> ... Registration register(Listener listener, Group group); ...
> }
> {code}
>  - Upon new group registration, RabbitMQEventBus attempts to create a queue per listener group, bounded to the exhange introduced in MAILBOX-367 .
>  - RabbitMQEventBus also registers a consumer executing the given listener group - bound to the listener group queue
> For test:
>  - With a single RabbitMQDelegatingListener, ensure that global listeners are correctly executed
>  - With 2 RabbitMQDelegatingListener, ensure that all global listeners are executed at least once accross the cluster



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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