com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

In and Out Mediators

Note

Please note that this feature is deprecated.


The In and Out Mediators act as predefined filters. Messages that are in the In path of the EI will traverse through the child mediators of the In Mediator. Messages that are in the Out path of the ESB profile will traverse through the child mediators of the Out Mediator.

Note

Do not use these mediators in proxy service sequences, as proxy services have the predefined sequences <inSequence> and <outSequence> for this purpose.



Syntax

In

<in>
      mediator+
</in>

Out

<out>
      mediator+
</out>

Configuration

After adding an In or Out mediator, you add and configure its child mediators.


Example

In the following example, the In mediator has a Log mediator and a Filter mediator as child mediators. The Log mediator logs the messages in the In path. Then the Filter mediator filters these messages and sends the messages which match the filter criteria to http://localhost:9000. The messages are sent via the Send mediator which is added as a child to the Filter mediator.

The messages in the Out path are sent via the Send mediator which is added as a child to the Out mediator.

<sequence name="main" xmlns="http://ws.apache.org/ns/synapse">
      <in>
          <log level="full"/>
          <filter source="get-property('To')" regex="http://localhost:9000.*">
              <send/>
          </filter>
      </in>
      <out>
          <send/>
      </out>
</sequence>
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.