|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartnerRoleMessageExchange
A message exchange orginating from the BPEL server and targeting some external partner.
Nested Class Summary |
---|
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 | |
---|---|
javax.xml.namespace.QName |
getCaller()
Get the identifier of the process that created this message exchange. |
EndpointReference |
getMyRoleEndpointReference()
Get the EndpointReference associated with the my-role of the partner link to which this message exchange belongs. |
PartnerRoleChannel |
getPartnerRoleChannel()
Get the communication channel. |
void |
reply(Message response)
Indicate that the partner has responded to the message exchange. |
void |
replyAsync(java.lang.String foreignKey)
Indicate that the response to the request/response operation is not yet available and that the response will be delivered asynchronously. |
void |
replyOneWayOk()
Indicate that the partner processed the one-way invocation successfully. |
void |
replyWithFailure(MessageExchange.FailureType type,
java.lang.String description,
org.w3c.dom.Element details)
Indicate that the partner has failed to process the message exchange. |
void |
replyWithFault(javax.xml.namespace.QName faultType,
Message outputFaultMessage)
Indicate that the partner faulted in processing the message exchange. |
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 |
---|
javax.xml.namespace.QName getCaller()
PartnerRoleChannel getPartnerRoleChannel()
void replyWithFault(javax.xml.namespace.QName faultType, Message outputFaultMessage) throws BpelEngineException
faultType
- fault typeoutputFaultMessage
- the input message
java.lang.IllegalStateException
- if delivering this type of message is inappropriate at the present point.
BpelEngineException
void reply(Message response) throws BpelEngineException
response
- the response from the partner
java.lang.IllegalStateException
- if delivering this type of message is inappropriate at the present point.
BpelEngineException
void replyWithFailure(MessageExchange.FailureType type, java.lang.String description, org.w3c.dom.Element details) throws BpelEngineException
type
- type of failuredescription
- description of failure
BpelEngineException
void replyOneWayOk()
void replyAsync(java.lang.String foreignKey)
foreignKey
- "foreign" key that is used to identify this message exchange.EndpointReference getMyRoleEndpointReference()
EndpointReference
associated with the my-role of the partner link to which this message exchange belongs.
This method is typically used to provide protocol-specific "callback" mechanisms.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |