Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To subscribe to an event

In your module activator or anywhere else in your module code:

...

Code Block
langjava
Event.unsubscribe(Class, Action, EventListener);
or
Event.unsetSubscription(SubscribableEventListener); // just because its cute

Using external ActiveMQ instance

By default, event module uses embedded ActiveMQ instance.
If you would like to use standalone ActiveMQ instance, simply set activeMQ.externalUrl Global property with a value of your desired ActiveMQ instance and restart module.
Example ip address: 172.17.0.1:61616

Example Client code

  • The Atom Feed Module takes advantage of this module.
  • The below class should be registered to the Event class with Event.subscribe(____, new CountEventListener());

...