The Event Mediator (New in version 4.0) redirects the incoming events to the Event topics.
The Qpid Server can be used as as an event broker with the Event Mediator.
|Table of Contents|
<event xmlns="http://ws.apache.org/ns/synapse" topic="" [expression=""] />
The configuration options for Event Mediator are:
- Topic Type
- Topic - Topic to which the events are dispatched. This can be a static topic, or can be specified using an XPath as a dynamic topic.
- Expression - Xpath to extract the message to be submitted.
You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window.
<!-- Simple Eventing configuration -->
<sequence name="PublicEventSource" >
<target inSequence="PublicEventSource" />
In this scenario, the user has defined a Top source called
SampleEventSource. When an event notification comes to the
EventingProxy Proxy Service, the messages will be logged and sent to the event source.
Also refer to Topics and Eventing.
Description of the Event Mediator in WSO2 ESB.