The Publish Event mediator constructs events and publishes them to different systems such as BAM and CEP. This is done via event sinks.
The Publish Event mediator is a content-aware mediator.
Parameters that can be configured for the Publish Event mediator are as follows.
|Stream Name||The name of the stream to be used for sending data.|
|Stream Version||The version of the stream to be used for sending data.|
|EventSink||The name of the event sink to which the events should be published.|
You can add the following four types of attributes to a Publish Event mediator configuration.
Meta Attributes: The list of attributes which are included in the Meta section of the event.
Correlated Attributes: The list of attributes that are included in the Correlated section of the event.
Payload Attributes: The list of attributes that are included in the Payload section of the event.
Arbitrary Attributes: The list of attributes that are included in the Arbitrary section of the event.
The parameters that are available to configure an individual attribute are as follows.
|Attribute Name||The name of the attribute.|
This parameter specifies whether the value of the attribute should be a static value or an expression.
|Value/Expression||The value of the attribute. You can enter a static value, or an expression to evaluate the value depending on the selection made in the Attribute Value parameter.|
|Type||The data type of the attribute.|
|Action||Click Delete in the relevant row to delete an attribute.|
In this configuration, the Publish Event mediator uses four attributes to extract information from the ESB profile. This information is published in an event sink in the ESB profile named