Skip to content
Daan van Yperen edited this page May 31, 2019 · 5 revisions

Contrib-eventbus

This module allows inter system communication to artemis-odb via an event bus. Provides drop-in and go event functionality to artemis-odb.

Outline:

  • annotation based event subscription @Subscribe
  • automatic listener registration on systems and managers
  • listeners outside artemis-odb supported.
  • Provide your own dispatching and listener resolutions.
  • Built in event cancellation, listener priority.
  • Default dispatcher is synchronous

Getting started

  • Register EventSystem with artemis-odb config.setSystem(EventSystem.class)
  • Declare Listeners in your classes.
  • Start dispatching!

See also