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/01 03:19:00 UTC

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

Benoit Tellier created JAMES-3498:
-------------------------------------

             Summary: 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


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