An event group defines a logical collection of events based on
the content of their property data.
Why and when to perform this task
You can use an event group to query events from the
event server. You can also associate an event group with a Java Message Service
(JMS) destination for asynchronous event distribution.
To create an event
group, follow these steps:
Steps for this task
- 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 on how to create JMS destinations and connection factories
and bind them into a Java Naming and Directory Interface (JNDI) namespace.
- Create a new event group profile. In the WebSphere administrative
console, click Resources > Common Event Infrastructure Provider
> Event Group Profile List > event_group_profile_list >
Event Group Profiles > New.
- Specify the properties of the event group profile. Refer
to the online help for the Event Group Profile Settings page for detailed
information about these properties.
- Click OK to save your changes and create the event group
profile.
Result
Event consumers can now specify the event group when querying events.
If event distribution is enabled in the event server profile, events belonging
to the event group are also published to JMS destinations that are specified
in the event group profile. Event consumers can then receive events asynchronously
by subscribing to the appropriate destinations.