public class SynapseCallbackReceiver
extends org.apache.axis2.util.CallbackReceiver
| Constructor and Description |
|---|
SynapseCallbackReceiver(SynapseConfiguration synCfg,
ServerContextInformation contextInformation)
Create the *single* instance of this class that would be used by all anonymous services
used for outgoing messaging.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(String MsgID,
org.apache.axis2.client.async.AxisCallback callback) |
int |
getCallbackCount() |
void |
receive(org.apache.axis2.context.MessageContext messageCtx)
Everytime a response message is received this method gets invoked.
|
public SynapseCallbackReceiver(SynapseConfiguration synCfg, ServerContextInformation contextInformation)
synCfg - the Synapse configurationcontextInformation - server runtime informationpublic int getCallbackCount()
public void addCallback(String MsgID, org.apache.axis2.client.async.AxisCallback callback)
addCallback in class org.apache.axis2.util.CallbackReceiverpublic void receive(org.apache.axis2.context.MessageContext messageCtx)
throws org.apache.axis2.AxisFault
receive in interface org.apache.axis2.engine.MessageReceiverreceive in class org.apache.axis2.util.CallbackReceivermessageCtx - the Axis2 message context of the reply receivedorg.apache.axis2.AxisFaultCopyright © 2005–2024 Apache Software Foundation. All rights reserved.