Oscar Bou created ISIS-1028:
-------------------------------
Summary: Create Event Bus Service based on Axon
Key: ISIS-1028
URL: https://issues.apache.org/jira/browse/ISIS-1028
Project: Isis
Issue Type: New Feature
Components: Core
Affects Versions: core-1.8.0
Reporter: Oscar Bou
Assignee: Oscar Bou
Fix For: core-1.9.0
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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)