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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/02/04 05:04:00 UTC

[jira] [Commented] (JAMES-3498) Generalize the eventBus

    [ https://issues.apache.org/jira/browse/JAMES-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278535#comment-17278535 ] 

Benoit Tellier commented on JAMES-3498:
---------------------------------------

https://github.com/linagora/james-project/pull/4231 and https://github.com/linagora/james-project/pull/4244 have contributed this

> Generalize the eventBus
> -----------------------
>
>                 Key: JAMES-3498
>                 URL: https://issues.apache.org/jira/browse/JAMES-3498
>             Project: James Server
>          Issue Type: New Feature
>            Reporter: Benoit Tellier
>            Priority: Major
>
> h3. Why
> The JMAP state push over websocket follows a PUB/SUB pattern, reuse of the EventBus allow to save significant development efforts.
> The 'mailbox' event bus can't be reuse as these state changes relies on some JMAP concepts, external to the mailbox (state accountId)
> See https://github.com/apache/james-project/blob/master/src/adr/0046-generalize-event-bus.md
> h3. How
> Move the EventBus under the `/event-bus` maven module
> h3. Definition of done
> All the Event-Bus packages have no dependency to the mailbox packages.
> A NamingStrategy is used so that two distinct EventBus instances can share the same RabbitMQ instances.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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