|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MyRoleMessageExchange
Extension of the MessageExchange
interface
that is provided by the engine for message-exchanges where the engine acts as
the server (i.e. where the engine is "invoked").
Nested Class Summary | |
---|---|
static class |
MyRoleMessageExchange.CorrelationStatus
Enumeration of message correlation results. |
Nested classes/interfaces inherited from interface org.apache.ode.bpel.iapi.MessageExchange |
---|
MessageExchange.AckType, MessageExchange.FailureType, MessageExchange.MessageExchangePattern, MessageExchange.Status |
Field Summary |
---|
Fields inherited from interface org.apache.ode.bpel.iapi.MessageExchange |
---|
PROPERTY_SEP_MYROLE_SESSIONID, PROPERTY_SEP_MYROLE_TRANSACTED, PROPERTY_SEP_PARTNERROLE_EPR, PROPERTY_SEP_PARTNERROLE_SESSIONID |
Method Summary | |
---|---|
void |
complete()
Complete the message, exchange: indicates that the client has receive the response (if any). |
java.lang.String |
getClientId()
Get the previously associated client key for this exchange. |
MyRoleMessageExchange.CorrelationStatus |
getCorrelationStatus()
Get the correlation state of the the invocation. |
MessageExchange.FailureType |
getFailureType()
Get the type of failure. |
javax.xml.namespace.QName |
getServiceName()
Get the name of the service targetted in this message exchange. |
java.util.concurrent.Future<MessageExchange.Status> |
invokeAsync()
Invoke a processs asynchronously. |
MessageExchange.Status |
invokeBlocking()
Invoke a process hosted by the BPEL engine, blocking until the operation completes. |
void |
invokeReliable()
Invoke a reliable process: this method must be invoked in a transaction. |
MessageExchange.Status |
invokeTransacted()
Invoke a transactional process: this method must be invoked in a transaction. |
void |
release(boolean instanceSucceeded)
|
void |
setRequest(Message request)
|
Methods inherited from interface org.apache.ode.bpel.iapi.MessageExchange |
---|
createMessage, getAckType, getEndpointReference, getFault, getFaultExplanation, getFaultResponse, getInvocationStyle, getMessageExchangeId, getMessageExchangePattern, getOperation, getOperationName, getPortType, getProperty, getPropertyNames, getRequest, getResponse, getStatus, getTimeout, isSafe, isTransactional, release, setProperty, setTimeout |
Method Detail |
---|
MyRoleMessageExchange.CorrelationStatus getCorrelationStatus()
CorrelationType
for details).
MessageExchange.FailureType getFailureType()
void setRequest(Message request)
MessageExchange.Status invokeBlocking() throws BpelEngineException, java.util.concurrent.TimeoutException
BpelEngineException
java.util.concurrent.TimeoutException
MessageExchange.Status invokeTransacted() throws BpelEngineException
BpelEngineException
void invokeReliable()
MessageExchangeContext#onReliableReply(MyRoleMessageExchange)
.
java.util.concurrent.Future<MessageExchange.Status> invokeAsync()
void complete()
java.lang.String getClientId()
javax.xml.namespace.QName getServiceName()
void release(boolean instanceSucceeded)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |