public interface PartnerRoleMessageExchange extends MessageExchange
MessageExchange.FailureType, MessageExchange.MessageExchangePattern, MessageExchange.Status
PROPERTY_SEP_MYROLE_SESSIONID, PROPERTY_SEP_PARTNERROLE_EPR, PROPERTY_SEP_PARTNERROLE_SESSIONID
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
getCaller()
Get the identifier of the process that created this message exchange.
|
PartnerRoleChannel |
getChannel()
Get the communication channel.
|
EndpointReference |
getMyRoleEndpointReference()
Get the
EndpointReference associated with the my-role of the partner link to which this message
exchange belongs. |
void |
reply(Message response)
Indicate that the partner has responded to the message exchange.
|
void |
replyAsync()
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.
|
createMessage, getEndpointReference, getFault, getFaultExplanation, getFaultResponse, getMessageExchangeId, getMessageExchangePattern, getOperation, getOperationName, getPortType, getProperty, getPropertyNames, getRequest, getResponse, getStatus, isTransactionPropagated, release, setProperty
javax.xml.namespace.QName getCaller()
PartnerRoleChannel getChannel()
void replyWithFault(javax.xml.namespace.QName faultType, Message outputFaultMessage) throws BpelEngineException
faultType
- fault typeoutputFaultMessage
- the input messagejava.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 partnerjava.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 failureBpelEngineException
void replyOneWayOk()
void replyAsync()
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.