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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to