org.apache.synapse.core.axis2
Class AsyncCallback
java.lang.Object
org.apache.synapse.core.axis2.AsyncCallback
- All Implemented Interfaces:
- AxisCallback
public class AsyncCallback
- extends Object
- implements AxisCallback
This class only "holds" the Synapse out message context for the Synapse callback message
receiver when a response is received or error is encountered
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncCallback
public AsyncCallback(MessageContext synapseOutMsgCtx)
onMessage
public void onMessage(MessageContext messageContext)
- Specified by:
onMessage
in interface AxisCallback
onFault
public void onFault(MessageContext messageContext)
- Specified by:
onFault
in interface AxisCallback
onError
public void onError(Exception e)
- Specified by:
onError
in interface AxisCallback
onComplete
public void onComplete()
- Specified by:
onComplete
in interface AxisCallback
getSynapseOutMsgCtx
public MessageContext getSynapseOutMsgCtx()
getTimeOutOn
public long getTimeOutOn()
setTimeOutOn
public void setTimeOutOn(long timeOutOn)
getTimeOutAction
public int getTimeOutAction()
setTimeOutAction
public void setTimeOutAction(int timeOutAction)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.