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(java.lang.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(java.lang.String MsgID, org.apache.axis2.client.async.AxisCallback callback)
addCallback
in class org.apache.axis2.util.CallbackReceiver
public void receive(org.apache.axis2.context.MessageContext messageCtx) throws org.apache.axis2.AxisFault
receive
in interface org.apache.axis2.engine.MessageReceiver
receive
in class org.apache.axis2.util.CallbackReceiver
messageCtx
- the Axis2 message context of the reply receivedorg.apache.axis2.AxisFault
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.