Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Qpid Server can be used as as an event broker with the Event Mediator. 

...

Table of Contents
maxLevel3
minLevel3

...

styleborder:1
locationtop
typeflat
separatorpipe

...

Syntax

Code Block
XML
XML

<event xmlns="http://ws.apache.org/ns/synapse" topic="" [expression=""] />

...

The configuration options for Event Mediator are:

  • Topic Type
    • Static
    • Dynamic
  • Topic - Event 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.
Info
titleNote

You can configure the Mediator using XML. Click on "switch to source view" in the "Mediator" window.

...

Example

Code Block
XML
XML

<!-- Simple Eventing configuration -->
 <definitions xmlns="http://ws.apache.org/ns/synapse">

     <sequence name="PublicEventSource" >
            <log level="full"/>
            <event topic="SampleEventSource"/>
     </sequence>

     <proxy name="EventingProxy">
         <target inSequence="PublicEventSource" />
     </proxy>
 </definitions>

...

Also refer to Topics and Eventing.

Excerpt
hiddentrue

Description of the Event Mediator in WSO2 ESB.