|
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.BasicQualityOfService | +--com.bea.b2b.protocol.xocp.messaging.QualityOfService
The QualityOfService class provides information to BEA's messaging system about the Quality of Service required for the delivery of a message.
Constructor Summary | |
QualityOfService()
Constructs a QualityOfService object. |
Method Summary | |
java.lang.String |
getCorrelationId()
Gets the message ID of the correlated business message, which is the business message that corresponds to this business message (for example, the message ID of the request to which this business message is a reply). |
java.util.Hashtable |
getHopTimestamps()
Gets timestamps recorded at each system component (c-hub and c-enabler) during the propagation of this business message. |
int |
getRetryAttempts()
Gets the maximum number of retries to attempt when trying to send this business message over a network link. |
long |
getTimeout()
Gets the timeout value for the business message, in milliseconds. |
boolean |
isConfirmedDeliveryToApplication()
Determines whether the delivery for this business message is confirmed up to its destination (true) or not (false). |
boolean |
isConfirmedDeliveryToDestination()
Determines whether the delivery for this business message is confirmed up to its destination (true) or not (false). |
boolean |
isConfirmedDeliveryToHub()
Determines whether the delivery of this business message is confirmed up to the c-hub (true) or not (false). |
boolean |
isConfirmedDeliveryToRouter()
Determines whether the delivery of this business message is confirmed up to the router in the c-hub (true) or not (false). |
boolean |
isPersistent()
Deprecated. |
boolean |
isValidated()
Check if XML based payload (BusinessDocument(s)) in the message is validated. |
void |
setConfirmedDeliveryToApplication(boolean confirm)
Sets the Quality of Service for this business message, specifying whether to confirm message delivery up to the target application (true) or only up to the c-hub (false). |
void |
setConfirmedDeliveryToDestination(boolean confirm)
Sets the Quality of Service for this business message, specifying whether to confirm message delivery up to its destination (true) or only up to the c-hub (false). |
void |
setConfirmedDeliveryToHub(boolean confirm)
Sets the Quality of Service for this business message, specifying whether to confirm message delivery up to the c-hub (true) or not (false). |
void |
setConfirmedDeliveryToRouter(boolean confirm)
Sets the Quality of Service for this business message, specifying whether to confirm message delivery up to the router in the c-hub (true) or only up to the c-hub (false). |
void |
setCorrelationId(java.lang.String cid)
Sets the message ID of the correlated business message, which is the business message that corresponds to this business message (for example, the message ID of the request to which this business message is a reply). |
void |
setDefault(PartyInstance receiveParty,
boolean isBusinessMessage)
|
void |
setPersistent(boolean isPersistent)
Deprecated. |
void |
setRetryAttempts(int ra)
Sets the maximum number retries to attempt when sending this business message over a network link. |
void |
setTimeout(long t)
Sets the timeout value for the business message, in milliseconds. |
void |
validate(boolean validate)
Sets validation mode for XML based payload (BusinessDocument(s)) in the message. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public QualityOfService()
Method Detail |
public void setDefault(PartyInstance receiveParty, boolean isBusinessMessage)
public boolean isPersistent()
public void setPersistent(boolean isPersistent)
isPersistent
- Specify true to make the business message persistent,
or false if not.public int getRetryAttempts()
public void setRetryAttempts(int ra)
ra
- Maximum number of retry attempts.public long getTimeout()
public void setTimeout(long t)
t
- Timeout, in milliseconds, starting from the time
at which the business message was sent.public java.lang.String getCorrelationId()
public void setCorrelationId(java.lang.String cid)
cid
- Message ID of the correlated business message.public java.util.Hashtable getHopTimestamps()
public void setConfirmedDeliveryToApplication(boolean confirm)
Confirmation information includes:
1. Complete delivery status from each destination. This includes receipt timestamp, retry attempts (if any), router selected trading partners, and the final list of recipient trading partners.
2. Complete message tracking information (all potential locations) for the c-hub administrator and the sending c-enabler's administrator.
confirm
- If true, message delivery is confirmed up to the target application.
If false, message delivery is confirmed up to the c-hub only.public boolean isConfirmedDeliveryToApplication()
public void setConfirmedDeliveryToDestination(boolean confirm)
Confirmation information includes:
1. Complete delivery status from each destination. This includes receipt timestamp, retry attempts (if any), router selected trading partners, and the final list of recipient trading partners.
2. Complete message tracking information (all potential locations) for the c-hub administrator and the sending c-enabler's administrator.
confirm
- If true, message delivery is confirmed up to its destination.
If false, message delivery is confirmed up to the c-hub only.public boolean isConfirmedDeliveryToDestination()
public void setConfirmedDeliveryToRouter(boolean confirm)
Confirmation information includes:
1. Information about the c-hub router selected trading partners scheduled to receive the business message.
2. Message tracking until the business message reaches the c-hub router.
confirm
- Specify true to confirm delivery up to
the c-hub router, or false to confirm up to the c-hub.public boolean isConfirmedDeliveryToRouter()
public void setConfirmedDeliveryToHub(boolean confirm)
confirm
- Specify true to confirm message delivery to the c-hub,
or false if not.public boolean isConfirmedDeliveryToHub()
public void validate(boolean validate)
public boolean isValidated()
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |