Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Table of Contents
maxLevel3
minLevel3
locationtop
styleborder:1
locationtop
typeflat
separatorpipe

...

Syntax

In

Code Block
XML
XML
<in>
      mediator+
</in>

Out

Code Block
XML
XML
<out>
      mediator+
</out>

...

UI Configuration

None.

...

Usage Scenario

Code Block
XML
XML
<syn:sequence name="main" xmlns:syn="http://ws.apache.org/ns/synapse">
      <syn:in>
          <syn:log level="full"/>
          <syn:filter source="get-property('To')" regex="http://localhost:9000.*">
              <syn:send/>
          </syn:filter>
      </syn:in>
      <syn:out>
          <syn:send/>
      </syn:out>
</syn:sequence>

Main sequence with the In and Out Mediators. Messages coming to the ESB will be sent using wsa:to address and responses will be sent back to the requester.

Info
titleNote

These Mediators are pointless to be used in Proxy Service sequences. Proxy Services has predefined sequences for in messages and out messagemessages.

Excerpt
hiddentrue

Description of the In and the Out Mediators in WSO2 ESB.