org.apache.synapse.core.axis2
Class Axis2Sender
java.lang.Object
org.apache.synapse.core.axis2.Axis2Sender
public class Axis2Sender
- extends Object
This class helps the Axis2SynapseEnvironment implement the send method
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Axis2Sender
public Axis2Sender()
sendOn
public static void sendOn(EndpointDefinition endpoint,
MessageContext synapseInMessageContext)
- Send a message out from the Synapse engine to an external service
- Parameters:
endpoint
- the endpoint definition where the message should be sentsynapseInMessageContext
- the Synapse message context
sendBack
public static void sendBack(MessageContext smc)
- Send a response back to a client of Synapse
- Parameters:
smc
- the Synapse message context sent as the response
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.