...
Code Block | ||
---|---|---|
| ||
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 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());
...