You can generate an event definition from an Event Emitter primitive.
You can then test the event definitions in the integrated test client, or
create a monitor model from the event definition.
In order to generate an event definition from a mediation flow, an
Event Emitter primitive must exist in the flow.
To generate an event definition from an Event Emitter primitive,
follow these steps.
- In the Business Integration view, select the mediation flow that
contains an Event Emitter Primitive.
- Right click the mediation flow and select Monitor
Tools -> Generate Event Definitions. An event
definition is generated for each Event Emitter primitive in the mediation
flow. The event is given the name of the Event Emitter's label property. In
the Physical Resources view , the event definition
is generated (or regenerated) into the events folder under your module, as
shown in the following figure:
After you have generated your event definitions, you can perform one
of the following tasks:
- Test the event definitions in the integration test client, as described
in the integration test client topic "Testing event definitions.
- Import the event definitions into a monitor model in the monitor model
editor and add business metrics to the event definitions, as described in
the WebSphere Business Monitor Development Toolkit documentation.