public interface MessageExchange
Modifier and Type | Interface and Description |
---|---|
static class |
MessageExchange.FailureType
Enumeration of the types of failures.
|
static class |
MessageExchange.MessageExchangePattern
Enumeration of message exchange patterns.
|
static class |
MessageExchange.Status
Enumeration of the possible states for the message exchange.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_SEP_MYROLE_SESSIONID |
static java.lang.String |
PROPERTY_SEP_PARTNERROLE_EPR |
static java.lang.String |
PROPERTY_SEP_PARTNERROLE_SESSIONID |
Modifier and Type | Method and Description |
---|---|
Message |
createMessage(javax.xml.namespace.QName msgType)
Create a message associated with this exchange.
|
EndpointReference |
getEndpointReference()
Get a reference to the end-point targeted by this message exchange.
|
javax.xml.namespace.QName |
getFault()
Get the fault type.
|
java.lang.String |
getFaultExplanation() |
Message |
getFaultResponse()
Get the fault resposne message.
|
java.lang.String |
getMessageExchangeId()
Get the message exchange identifier.
|
MessageExchange.MessageExchangePattern |
getMessageExchangePattern()
Return the type of message-exchange that resulted form this invocation
(request only/request-respone).
|
javax.wsdl.Operation |
getOperation()
Get the operation description for this message exchange.
|
java.lang.String |
getOperationName()
Get the name of the operation (WSDL 1.1) / message exchange (WSDL 1.2?).
|
javax.wsdl.PortType |
getPortType()
Get the port type description for this message exchange.
|
java.lang.String |
getProperty(java.lang.String key)
Get a message exchange property.
|
java.util.Set<java.lang.String> |
getPropertyNames()
Get a set containing the names of the defined properties.
|
Message |
getRequest()
Get the request message.
|
Message |
getResponse()
Get the response message.
|
MessageExchange.Status |
getStatus()
Get the message exchange status.
|
boolean |
isTransactionPropagated() |
void |
release()
Should be called by the external partner when it's done with the
message exchange.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a message exchange property.
|
static final java.lang.String PROPERTY_SEP_MYROLE_SESSIONID
static final java.lang.String PROPERTY_SEP_PARTNERROLE_SESSIONID
static final java.lang.String PROPERTY_SEP_PARTNERROLE_EPR
java.lang.String getMessageExchangeId() throws BpelEngineException
BpelEngineException
java.lang.String getOperationName() throws BpelEngineException
BpelEngineException
EndpointReference getEndpointReference() throws BpelEngineException
BpelEngineException
MessageExchange.MessageExchangePattern getMessageExchangePattern()
MessageExchange.MessageExchangePattern.REQUEST_RESPONSE
message-exchange was
created, then the caller should expect a response in the future.Message createMessage(javax.xml.namespace.QName msgType)
msgType
- message typeMessage
boolean isTransactionPropagated() throws BpelEngineException
BpelEngineException
MessageExchange.Status getStatus()
Message getRequest()
Message getResponse()
javax.xml.namespace.QName getFault()
null
if not available/applicable.java.lang.String getFaultExplanation()
Message getFaultResponse()
null
if not available/applicable.javax.wsdl.Operation getOperation()
null
if not availblejavax.wsdl.PortType getPortType()
null
if not available.void setProperty(java.lang.String key, java.lang.String value)
key
- property keyvalue
- property valuejava.lang.String getProperty(java.lang.String key)
key
- property keyjava.util.Set<java.lang.String> getPropertyNames()
void release()