|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.b2b.protocol.messaging.MessageBase | +--com.bea.b2b.protocol.xocp.messaging.XOCPMessage
The XOCPMessage class represents an XOCP business message. It holds XOCP-related contexts, including types of system messages.
Constructor Summary | |
XOCPMessage()
Constructs an XOCPMessage object. |
|
XOCPMessage(java.lang.String dest)
Constructs an XOCPMessage object with the specified destination. |
Method Summary | |
Conversation |
getConversation()
Gets the conversation in which this business message is sent. |
java.lang.String |
getExpression()
Gets the c-enabler XPath expression that was specified by the sender of this message. |
QualityOfService |
getQoS()
Gets the Quality of Service setting that was specified by the sender of this business message. |
java.lang.String |
getSender()
Gets the sender of this business message. |
MessageToken |
send()
Sends this business message with a deferred synchronous delivery option. |
MessageToken |
sendAndWait(long waitTime)
Sends this business message synchronously and waits until the business message reaches its destination(s). |
void |
setConversation(Conversation c)
Sets the conversation in which to send this business message. |
void |
setExpression(java.lang.String exp)
Sets the c-enabler XPath expression for this business message. |
void |
setQoS(QualityOfService qos)
Sets the Quality of Service for message delivery. |
void |
setRecipient(java.lang.String recipient)
Specifies the name of a single trading partner to receive this business message. |
Methods inherited from class com.bea.b2b.protocol.messaging.MessageBase |
addPayloadPart,
addPayloadParts,
addRecipient,
getConversationId,
getConversationType,
getCreationTime,
getMessageId,
getPayloadParts,
getRecipients,
isBusinessMessage,
removeAllPayloadParts,
removeAllRecipients,
removeRecipient,
setToRole |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XOCPMessage()
public XOCPMessage(java.lang.String dest)
dest
- Destination of the business message.Method Detail |
public java.lang.String getExpression()
public void setExpression(java.lang.String exp)
exp
- XPath expression. Must comply with XPath syntax and usage rules.public QualityOfService getQoS()
public void setQoS(QualityOfService qos)
public Conversation getConversation()
public void setConversation(Conversation c)
c
- Conversation in which to send this business message.public MessageToken sendAndWait(long waitTime) throws MessageDeliveryException
waitTime
- Time to wait, in milliseconds.
If zero (0) is specified, waits until the message
reaches its destination(s).public MessageToken send() throws MessageDeliveryException
public void setRecipient(java.lang.String recipient) throws ModificationException
recipient
- Name of the business message recipient.public java.lang.String getSender()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |