org.apache.ode.bpel.engine
Class MyRoleMessageExchangeImpl
java.lang.Object
org.apache.ode.bpel.engine.MessageExchangeImpl
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl
- All Implemented Interfaces:
- MessageExchange, MyRoleMessageExchange
- Direct Known Subclasses:
- BrokeredMyRoleMessageExchangeImpl
public class MyRoleMessageExchangeImpl
- extends MessageExchangeImpl
- implements MyRoleMessageExchange
|
Field Summary |
protected BpelProcess |
_process
|
protected static java.util.Map<java.lang.String,org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.ResponseCallback> |
_waitingCallbacks
|
| Methods inherited from class org.apache.ode.bpel.engine.MessageExchangeImpl |
createMessage, getDAO, getEndpointReference, getFault, getFaultExplanation, getFaultResponse, getMessageExchangeId, getMessageExchangePattern, getOperation, getOperationName, getPattern, getPortType, getProperty, getPropertyNames, getRequest, getResponse, getStatus, getSubscriberCount, isTransactionPropagated, release, setEndpointReference, setProperty, setSubscriberCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.ode.bpel.iapi.MessageExchange |
createMessage, getEndpointReference, getFault, getFaultExplanation, getFaultResponse, getMessageExchangeId, getMessageExchangePattern, getOperation, getOperationName, getPortType, getProperty, getPropertyNames, getRequest, getResponse, getStatus, isTransactionPropagated, release, setProperty |
_process
protected BpelProcess _process
_waitingCallbacks
protected static java.util.Map<java.lang.String,org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.ResponseCallback> _waitingCallbacks
MyRoleMessageExchangeImpl
public MyRoleMessageExchangeImpl(BpelProcess process,
BpelEngineImpl engine,
MessageExchangeDAO mexdao)
getCorrelationStatus
public MyRoleMessageExchange.CorrelationStatus getCorrelationStatus()
- Specified by:
getCorrelationStatus in interface MyRoleMessageExchange
setCorrelationStatus
public void setCorrelationStatus(MyRoleMessageExchange.CorrelationStatus status)
invoke
public java.util.concurrent.Future invoke(Message request,
java.util.List<java.lang.String> attachmentIDs)
- Specified by:
invoke in interface MyRoleMessageExchange
invoke
public java.util.concurrent.Future invoke(Message request)
- Specified by:
invoke in interface MyRoleMessageExchange
complete
public void complete()
- Specified by:
complete in interface MyRoleMessageExchange
getServiceName
public javax.xml.namespace.QName getServiceName()
- Specified by:
getServiceName in interface MyRoleMessageExchange
setClientId
public void setClientId(java.lang.String clientKey)
- Specified by:
setClientId in interface MyRoleMessageExchange
getClientId
public java.lang.String getClientId()
- Specified by:
getClientId in interface MyRoleMessageExchange
toString
public java.lang.String toString()
- Overrides:
toString in class MessageExchangeImpl
isAsynchronous
public boolean isAsynchronous()
release
public void release(boolean instanceSucceeded)
- Specified by:
release in interface MyRoleMessageExchange
cloneMessage
protected Message cloneMessage(Message message)
- Return a deep clone of the given message
- Parameters:
message -
- Returns:
responseReceived
protected void responseReceived()
- Overrides:
responseReceived in class MessageExchangeImpl
Copyright © 2015 WSO2. All Rights Reserved.