Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3498

Generalize the eventBus

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • None
    • None

    Description

      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

      How

      Move the EventBus under the `/event-bus` maven module

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: