Versions Compared

Key

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

...

When the Drop mediator is within the "in" In sequence, it sends an HTTP 202 Accepted response to the client when it stops the message flow. When the Drop mediator is within the "out" Out sequence before the Send mediator, no response is sent to the client.

Info

The Drop mediator is a content-unaware mediator.


...

Table of Contents
maxLevel3
minLevel3
styleborder:1
locationtop
typeflat
separatorpipe

...

As with other mediators, after adding the drop mediator to a sequence, you can click its up and down arrows to move its location in the sequence.

Info
titleNote

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

Image Added

Example

Code Block
XML
XML
<definitions xmlns="http://ws.apache.org/ns/synapse">
    <filter source="get-property('To')" regex=".*/StockQuote.*">
        <send>
            <endpoint>
                <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
            </endpoint>
        </send>
        <drop/>
    </filter>
    <send/>
</definitions>

...