org.apache.synapse.core.axis2
Class Axis2Sender

java.lang.Object
  extended by org.apache.synapse.core.axis2.Axis2Sender

public class Axis2Sender
extends Object

This class helps the Axis2SynapseEnvironment implement the send method


Constructor Summary
Axis2Sender()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis2Sender

public Axis2Sender()
Method Detail

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 sent
synapseInMessageContext - 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.