An event group defines a logical collection of events based
on the content of their property data. An event group can be used
when querying events from the event service, and it can optionally
be associated with a JMS destination for asynchronous event distribution.
About this task
To create an event group:
Procedure
- Optional: Set up one or more JMS destinations
for the event group. An event group can be associated with
one JMS topic, and one or more JMS queues. Refer to the documentation
for your JMS provider for information about how to create JMS destinations
and connection factories and bind them into a JNDI namespace.
Security: If WebSphere® security is enabled, the configuration
for the JMS destination must specify an authentication alias.
- Create the new event group. In the server administrative
console, click Service Integration > Common Event Infrastructure > Event
Service > Event Services > event_service > Event
Groups > New.
- Specify the properties of the new event group, including
the event selector and optional JMS destinations.
- Save the configuration changes.
- In a network deployment environment only, synchronize the
node.
- Restart the server.
Results
Event consumers can now specify the event group when querying
events. If event distribution is enabled in the event service settings,
events belonging to the event group are also published to any JMS
destinations specified in the event group. Event consumers can then
receive events asynchronously by subscribing to the appropriate destinations.