public abstract class MessageExchangeProxy extends Object implements MessageExchange
MessageExchange.Role| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_ACCEPT
Column 3: Action ACCEPT
|
static int |
ACTION_FAULT
Column 5: Action FAULT
|
static int |
ACTION_MASK
Column 1: Legal operation MASK.
|
static int |
ACTION_SEND
Column 2: Action SEND
|
static int |
ACTION_STATUS
Column 4: Action STATUS
|
static int |
ADDRESS
Category of actions used to address a message exchange:
SET_SERVICE, SET_OPERATION, SET_ENDPOINT, SET_INTERFACE
|
static int |
CHECK_STATUS_OR_FAULT
Hint check STATUS or FAULT
|
static int |
COMPLETE
Hint COMPLETE
|
static int |
CREATE_FAULT
Allowed to create fault.
|
static int |
DO_ACCEPT
Allowed to ACCEPT
|
static int |
DO_SEND
Allowed to SEND
|
static int |
DO_SENDSYNCH
Allowed to SENDSYNCH.
|
static int |
MARK_ACTIVE
Hint ACTIVE
|
static int |
MARK_DONE
Hint DONE
|
static int |
REQUEST
Hint is a REQUEST.
|
static int |
RESUME_TX
Hint RESUME_TX
|
static int |
SET_DONE
Allowed to set done status.
|
static int |
SET_ERROR
Allowed to set error status.
|
static int |
SET_FAULT
Allowed to set fault.
|
static int |
SET_IN
Allowed to set IN message
|
static int |
SET_OUT
Allowed to set OUT message
|
static int |
SET_PROPERTY
Allowed to set property.
|
static int |
SET_TRANSACTION
Allowed to set transaction.
|
static int |
STATUS
Hint is a STATUS.
|
static int |
SUSPEND_TX
Hint SUSPEND_TX
|
JTA_TRANSACTION_PROPERTY_NAME| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTimeout() |
Fault |
createFault()
Create a Fault.
|
NormalizedMessage |
createMessage()
Create a Message.
|
ServiceEndpoint |
getActualEndpoint() |
Set |
getDeltaProperties() |
ServiceEndpoint |
getEndpoint()
Get the Endpoint for this exchange.
|
Exception |
getError()
Get Exception describing the exchanges error status.
|
String |
getExchangeId()
Get ExchangeId associated with this MessageExchange.
|
Fault |
getFault()
Get the Fault message for this exchange.
|
QName |
getInterfaceName() |
NormalizedMessage |
getMessage(String name)
Get a NormalizedMEssage by reference.
|
QName |
getOperation()
Get the Service for this exchange.
|
int |
getPhase() |
int |
getPhaseMask() |
Object |
getProperty(String name)
Get a property.
|
Set |
getPropertyNames() |
MessageExchange.Role |
getRole()
Return the role to take in this exchange.
|
QName |
getService()
Get the Service for this exchange.
|
String |
getSourceComponent() |
ExchangeStatus |
getStatus()
Get status of this MessageExchange.
|
String |
getTargetComponent() |
boolean |
isRemoteInvocation() |
boolean |
isTransacted()
Check existence of a transaction.
|
void |
mergeProperties() |
void |
setEndpoint(ServiceEndpoint endPoint)
Set Endpoint for this exchange.
|
void |
setError(Exception error)
Set Exception describing reason for error status.
|
void |
setFault(Fault fault)
Set Fault message for this exchange.
|
void |
setInterfaceName(QName interfaceName) |
void |
setMessage(NormalizedMessage message,
String name)
Set a NormalizedMessage by reference.
|
void |
setOperation(QName operation)
Set Operation for this exchange.
|
void |
setProperty(String name,
Object object)
Set a property.
|
void |
setService(QName service)
Set Service for this exchange.
|
void |
setStatus(ExchangeStatus status)
Set status of this MessageExchange.
|
boolean |
terminate()
Force exchange into DONE state.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPatternpublic static final int SET_TRANSACTION
public static final int ADDRESS
public static final int SET_PROPERTY
public static final int SET_FAULT
public static final int SET_DONE
public static final int SET_ERROR
public static final int SET_IN
public static final int SET_OUT
public static final int CREATE_FAULT
public static final int DO_SENDSYNCH
public static final int DO_SEND
public static final int DO_ACCEPT
public static final int SUSPEND_TX
public static final int RESUME_TX
public static final int MARK_DONE
public static final int MARK_ACTIVE
public static final int COMPLETE
public static final int CHECK_STATUS_OR_FAULT
public static final int REQUEST
public static final int STATUS
public static final int ACTION_MASK
public static final int ACTION_SEND
public static final int ACTION_ACCEPT
public static final int ACTION_STATUS
public static final int ACTION_FAULT
public String getExchangeId()
getExchangeId in interface MessageExchangepublic ExchangeStatus getStatus()
getStatus in interface MessageExchangepublic void setStatus(ExchangeStatus status) throws MessagingException
setStatus in interface MessageExchangeMessagingExceptionpublic Exception getError()
getError in interface MessageExchangepublic void setError(Exception error)
setError in interface MessageExchangepublic Fault getFault()
getFault in interface MessageExchangepublic void setFault(Fault fault) throws MessagingException
setFault in interface MessageExchangeMessagingExceptionpublic ServiceEndpoint getEndpoint()
getEndpoint in interface MessageExchangepublic void setEndpoint(ServiceEndpoint endPoint)
setEndpoint in interface MessageExchangepublic ServiceEndpoint getActualEndpoint()
public QName getService()
getService in interface MessageExchangepublic void setService(QName service)
setService in interface MessageExchangepublic QName getOperation()
getOperation in interface MessageExchangepublic void setOperation(QName operation)
setOperation in interface MessageExchangepublic QName getInterfaceName()
getInterfaceName in interface MessageExchangepublic void setInterfaceName(QName interfaceName)
setInterfaceName in interface MessageExchangepublic NormalizedMessage getMessage(String name)
getMessage in interface MessageExchangepublic void setMessage(NormalizedMessage message, String name) throws MessagingException
setMessage in interface MessageExchangeMessagingExceptionpublic Object getProperty(String name)
getProperty in interface MessageExchangepublic void setProperty(String name, Object object)
setProperty in interface MessageExchangepublic Set getPropertyNames()
getPropertyNames in interface MessageExchangepublic MessageExchange.Role getRole()
getRole in interface MessageExchangepublic String getSourceComponent()
public String getTargetComponent()
public boolean isTransacted()
isTransacted in interface MessageExchangepublic Fault createFault() throws MessagingException
createFault in interface MessageExchangeMessagingExceptionpublic NormalizedMessage createMessage() throws MessagingException
createMessage in interface MessageExchangeMessagingExceptionpublic int getPhase()
public int getPhaseMask()
public boolean terminate()
public boolean isRemoteInvocation()
public boolean checkTimeout()
public Set getDeltaProperties()
public void mergeProperties()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.