Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1028

Create Event Bus Service based on Axon

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core
    • Labels:
      None

      Description

      Current Guava based implementation queues events, and that implies changes to the execution flow.

      Axon Event Bus implementations simply dispatches events as soon as are posted.

      That way, logic when dispatching events is always the same (immediate dispatching when posted), without depending on an Event being dispatched when no other Event is dispatching (so its Event Handlers would be invoked immediately) or when other Event is currently being dispatched (in which case Guava would queue it instead of immediately dispatching).

      ~~~~~~~~~~~~~~~~

      As now implemented, the implementation can be specified in isis.properties:

      isis.services.eventbus.implementation=guava # the default

      or

      isis.services.eventbus.implementation=axon

      or

      isis.services.eventbus.implementation=com.mycompany.myapp.MyEventBusImplementation # implementing EventBusImplementation as defined in the Isis applib.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oscarbou Oscar Bou
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: