|
|||||||||
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.FailureType, MessageExchange.MessageExchangePattern, MessageExchange.Status |
Field Summary |
---|
Fields inherited from interface org.apache.ode.bpel.iapi.MessageExchange |
---|
PROPERTY_SEP_MYROLE_SESSIONID, 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. |
javax.xml.namespace.QName |
getServiceName()
Get the name of the service targetted in this message exchange. |
java.util.concurrent.Future |
invoke(Message request)
"Invoke" a process hosted by the BPEL engine. |
void |
release(boolean instanceSucceeded)
Should be called by the external partner when it's done with the message exchange. |
void |
setClientId(java.lang.String clientKey)
Associate a client key with this message exchange. |
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 |
Method Detail |
---|
MyRoleMessageExchange.CorrelationStatus getCorrelationStatus()
CorrelationType
for details).
java.util.concurrent.Future invoke(Message request)
MessageExchange.getStatus()
method. It is possible that the response for the operation is not
immediately available (i.e the call to invoke(Message)
will
return before a response is available). In such cases,
MessageExchange.getStatus()
== Status#ASYNC
and the
integration layer will receive an asynchronous notification from the BPEL
engine via the
MessageExchangeContext.onAsyncReply(MyRoleMessageExchange)
when
the response become available.
void complete()
void setClientId(java.lang.String clientKey)
clientKey
- 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 |