|
WebLogic Integration | |||||||||
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
The MessageBase class represents all the information required for processing a business message by the c-hub. It contains implementations that are common to most business protocols.
Method Summary | |
void |
addPayloadPart(PayloadPart payloadPart)
Adds a single payload part to this business message. |
void |
addPayloadParts(PayloadPart[] payloadParts)
Adds multiple payload parts to this business message. |
void |
addRecipient(java.lang.String rec)
Adds a recipient to the recipients list of this business message. |
protected void |
finalizeDeliveryStatus()
|
java.lang.String |
getConversationId()
Returns the conversation ID for the conversation in which this business message is sent. |
ConversationType |
getConversationType()
Returns the conversation type of this business message. |
long |
getCreationTime()
Gets the time when this business message was created. |
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 recipients list for this business message. |
boolean |
isBusinessMessage()
Determines whether this message is a valid business message (true) or not (false). |
void |
logOrigin()
Logs message to secure audit log via the AuditLogProvider interface. |
void |
logReceipt()
Logs message to secure audit log via the AuditLogProvider interface. |
void |
removeAllPayloadParts()
Removes all payload parts from this business message. |
void |
removeAllRecipients()
Removes all recipients from the recipients list of this business message. |
boolean |
removeRecipient(java.lang.String rec)
Removes the specified recipient from the recipients list of this business message. |
void |
setRecipient(java.lang.String recipient)
Sets the recipient trading partner for this business message. |
void |
setToRole(java.lang.String tRole)
Sets the to-role for the recipients of this business message. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public java.lang.String getMessageId()
The message ID is used to help tracking this business message. It can also be used during crash recovery to help identify duplicate messages.
The message ID is not set until this business message is sent from the c-enabler.
public long getCreationTime()
public java.lang.String getConversationId()
public ConversationType getConversationType()
public void setToRole(java.lang.String tRole)
This method can be used on the c-enabler but not on the c-hub.
tRole
- The to-role of recipient trading partners.public boolean isBusinessMessage()
This method can be used on the c-hub but not the c-enabler.
public void addRecipient(java.lang.String rec) throws ModificationException
This method can be used on the c-hub but not the c-enabler.
public void removeAllRecipients() throws ModificationException
This method can be used on the c-hub but not the c-enabler.
public boolean removeRecipient(java.lang.String rec) throws ModificationException
This method can be used on the c-hub but not the c-enabler.
public java.lang.String[] getRecipients()
This method can be used on the c-hub but not the c-enabler.
public void setRecipient(java.lang.String recipient) throws ModificationException
This method can be used on the c-enabler but not the c-hub.
recipient
- recipient of the messagepublic PayloadPart[] getPayloadParts()
public void addPayloadPart(PayloadPart payloadPart)
This method can be used on the c-enabler but not the c-hub.
payloadPart
- Payload part.public void addPayloadParts(PayloadPart[] payloadParts)
This method can be used on the c-enabler but not the c-hub.
payloadParts
- Payload parts.public void removeAllPayloadParts()
This method can be used on the c-enabler but not the c-hub.
protected void finalizeDeliveryStatus() throws com.bea.b2b.protocol.ProtocolException
public void logOrigin()
public void logReceipt()
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |