public class Axis2Sender extends Object
| Constructor and Description |
|---|
Axis2Sender() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
preventMultipleResponses(MessageContext messageContext)
This will ensure only one response is sent for a single request.
|
static void |
sendBack(MessageContext smc)
Send a response back to a client of Synapse
|
static void |
sendOn(EndpointDefinition endpoint,
MessageContext synapseInMessageContext)
Send a message out from the Synapse engine to an external service
|
public static void sendOn(EndpointDefinition endpoint, MessageContext synapseInMessageContext)
endpoint - the endpoint definition where the message should be sentsynapseInMessageContext - the Synapse message contextpublic static void sendBack(MessageContext smc)
smc - the Synapse message context sent as the responsepublic static boolean preventMultipleResponses(MessageContext messageContext)
messageContext - Synapse message contextCopyright © 2005–2019 Apache Software Foundation. All rights reserved.