|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Message interface contains all of the information required for processing a business message in WebLogic Collaborate, either on the c-hub or on a c-enabler node.
Method Summary | |
void |
addPayloadPart(PayloadPart payloadPart)
Adds a single payload part to this business message. |
void |
addPayloadParts(PayloadPart[] payloadParts)
Adds one or more payload parts to this business message. |
CAInstance |
getCA()
Get Collaboration Agreement associated with this message. |
java.lang.String |
getCAId()
Get global identifier of Collaboration Agreement in which this message is processed. |
java.lang.String |
getConversationId()
Gets the conversation ID for the conversation in which this business message is sent. |
ConversationType |
getConversationType()
Gets the conversation type of this message. |
long |
getCreationTime()
Gets the time when this business message was created. |
PartyInstance |
getFromParty()
Get party of associated Collaboration Agreement which sent this message or is supposed to be sending this message. |
java.lang.String |
getMessageId()
Returns the unique message ID of this business message. |
PayloadPart[] |
getPayloadParts()
Gets all of the payload parts of this business message. |
java.lang.String[] |
getRecipients()
Gets a copy of the current list of recipients for this business message. |
PartyInstance |
getToParty()
Get party of associated Collaboration Agreement which received this message or is supposed to receive this message. |
boolean |
isBusinessMessage()
Determines whether this message is a valid business message (true) or not (false). |
boolean |
isInReplyToMessageId()
Check if this message is a response to a message we sent |
void |
removeAllPayloadParts()
Removes all payload parts from this business message. |
MessageToken |
send()
Sends this business message to the c-hub. |
void |
setCAId(java.lang.String caId)
Set Collaboration Agreement global identifier associated with this message. |
void |
setRecipient(java.lang.String recipient)
Sets the recipients list of this business message to the single specified trading partner. |
Method Detail |
public java.lang.String getMessageId()
The message ID is used to help tracking this business message. It can also be used in crash recovery to help identify duplicate messages that may have occurred during system failure. The message ID is not set until the c-enabler sends this business message.
public long getCreationTime()
public java.lang.String getConversationId()
public ConversationType getConversationType()
public boolean isBusinessMessage()
public java.lang.String[] getRecipients()
public void setRecipient(java.lang.String recipient) throws ModificationException
recipient
- recipient of the messagepublic PayloadPart[] getPayloadParts()
public void addPayloadPart(PayloadPart payloadPart)
payloadPart
- Payload part.public void addPayloadParts(PayloadPart[] payloadParts)
payloadParts
- Payload parts.public void removeAllPayloadParts()
public MessageToken send() throws MessageDeliveryException
public CAInstance getCA()
public void setCAId(java.lang.String caId) throws ModificationException
caId
- global identifier of the Collaboration Agreementpublic PartyInstance getToParty()
public PartyInstance getFromParty()
public java.lang.String getCAId()
public boolean isInReplyToMessageId()
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |