|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.b2b.protocol.messaging.MessageToken
The MessageToken class represents a message token that is returned to an application when it sends a business message to the c-hub. The application can use the MessageToken object to check the delivery status of the business message.
If the business message was sent using deferred synchronous delivery, then the application can wait on the message token.
If the message was sent using synchronous delivery, however, then the application cannot wait on the message token.
Method Summary | |
DeliveryStatus[] |
getAllDeliveryStatus()
Gets the DeliveryStatus of all of the recipients of the business message associated with this token. |
java.util.Date |
getArrivalTime()
Gets the time when the business message associated with this message token arrived in the c-hub or at the receiving c-enabler. |
java.lang.String |
getConversationId()
Gets the conversation ID of the conversation in which the business message associated with this token is sent. |
DeliveryStatus |
getDeliveryStatus()
Gets the DeliveryStatus from a single recipient of the business message associated with this token. |
int |
getDestinations()
Gets the number of destinations to which the business message associated with this token was sent. |
java.lang.Throwable |
getException()
Gets any exception thrown during processing of the business message associated with this message token. |
java.lang.String |
getMessageId()
Gets the message ID of the business message associated with this message token. |
java.util.Date |
getSentTime()
Gets the time when the business message associated with this message token was sent. |
boolean |
isReleased()
Determines whether the message token released the thread (true) or not (false) due to such errors as network link failures between the c-enabler and the c-hub. |
long |
timeTaken()
Gets the time taken, in milliseconds, to deliver the business message associated with this token to all of its destinations. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.util.Date getSentTime()
public java.util.Date getArrivalTime()
public java.lang.String getConversationId()
public java.lang.String getMessageId()
public java.lang.Throwable getException()
public long timeTaken()
public DeliveryStatus[] getAllDeliveryStatus()
public DeliveryStatus getDeliveryStatus()
public int getDestinations()
public boolean isReleased()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |