public class Observer extends MessageExchangeProxy
MessageExchange.RoleACTION_ACCEPT, ACTION_FAULT, ACTION_MASK, ACTION_SEND, ACTION_STATUS, ADDRESS, CHECK_STATUS_OR_FAULT, COMPLETE, CREATE_FAULT, DO_ACCEPT, DO_SEND, DO_SENDSYNCH, MARK_ACTIVE, MARK_DONE, REQUEST, RESUME_TX, SET_DONE, SET_ERROR, SET_FAULT, SET_IN, SET_OUT, SET_PROPERTY, SET_TRANSACTION, STATUS, SUSPEND_TXJTA_TRANSACTION_PROPERTY_NAME| Constructor and Description |
|---|
Observer(MessageExchangeProxy me)
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
NormalizedMessage |
getInMessage()
Retrieve the message with reference id "in" from this exchange.
|
NormalizedMessage |
getOutMessage()
Retrieve the message with the reference id "out" from this exchange.
|
URI |
getPattern()
Get the pattern
|
MessageExchange.Role |
getRole()
Return the role to take in this exchange.
|
MessageExchangeProxy |
newTwin()
Return a new instance of ourselves in the target role
|
void |
setInMessage(NormalizedMessage msg)
Specifies the "in" message reference for this exchange
|
void |
setOutMessage(NormalizedMessage msg)
Specifies the "out" message reference for this exchange
|
checkTimeout, createFault, createMessage, getActualEndpoint, getDeltaProperties, getEndpoint, getError, getExchangeId, getFault, getInterfaceName, getMessage, getOperation, getPhase, getPhaseMask, getProperty, getPropertyNames, getService, getSourceComponent, getStatus, getTargetComponent, isRemoteInvocation, isTransacted, mergeProperties, setEndpoint, setError, setFault, setInterfaceName, setMessage, setOperation, setProperty, setService, setStatus, terminate, toStringpublic Observer(MessageExchangeProxy me)
public MessageExchange.Role getRole()
MessageExchangeProxygetRole in interface MessageExchangegetRole in class MessageExchangeProxypublic MessageExchangeProxy newTwin()
public URI getPattern()
public NormalizedMessage getInMessage()
public NormalizedMessage getOutMessage()
public void setInMessage(NormalizedMessage msg) throws MessagingException
msg - in messageMessagingException - invalid message or the
curent state of the exchange does not permit this operation.public void setOutMessage(NormalizedMessage msg) throws MessagingException
msg - out messageMessagingException - nvalid message or the
curent state of the exchange does not permit this operation.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.