Do not add any mediator configurations after Send mediator in the same sequence, because WSO2 EI the ESB profile does not process them. Any mediator configuration after the Send mediator should go to the outSequence or receive sequence.
endpointtoken refers to an anonymous endpoint definition.
|Select Endpoint Type|
This parameter is used to specify the endpoint type to which the message should be sent. The available options are as follows.
|Receiving Sequence Type|
The sequence to use for handling the response from the endpoint. Possible options are as follows.
|Build Message Before Sending|
This parameter is used to specify whether the message should be built before sending or not. The possible values are as follows.
Example 1 - Send mediator used in the In sequence and Out sequence
<definitions xmlns="http://ws.apache.org/ns/synapse"> <in> <send> <endpoint> <address uri="http://localhost:9000/services/SimpleStockQuoteService"/> </endpoint> </send> <drop/> </in> <out> <send/> </out> </definitions>
Example 2 - Specifying a response handling sequence (service chaining)