public class DeliverySemantics extends Object implements Serializable
The DeliverySemantics class is a type-safe enumeration of delivery semantics of a message exchange and
as such defines the quality of service.
Currently, the DeliverySemantics values defined by this class are:
BestEffort Message delivery is not guaranteed.ExactlyOnce Message is guaranteed to be delivered exactly once.ExactlyOnceInOrder Message is guaranteed to be delivered exactly once and the sequence of the
message delivery is maintained.Code sample:
DeliverySemantics ds = DeliverySemantics.ExactlyOnce;| Modifier and Type | Field and Description |
|---|---|
static DeliverySemantics |
BestEffort
Message delivery is not guaranteed.
|
static DeliverySemantics |
ExactlyOnce
Message is guaranteed to be delivered exactly once.
|
static DeliverySemantics |
ExactlyOnceInOrder
Message is guaranteed to be delivered exactly once and the sequence of the message delivery is maintained.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliverySemantics[] |
getAllDeliverySemantics()
Returns an array of all known DeliverySemantics constants.
|
protected Object |
readResolve() |
String |
toString()
Returns the string representation of the DeliverySemantics.
|
static DeliverySemantics |
valueOf(String s) |
public static final DeliverySemantics BestEffort
public static final DeliverySemantics ExactlyOnce
public static final DeliverySemantics ExactlyOnceInOrder
public String toString()
DeliverySemantics instance by a call to valueOf(String).public static DeliverySemantics valueOf(String s)
s - string sDeliverySemantics that represents the delivery semantics of a message given
as a string.NullPointerException - if the argument is null.IllegalArgumentException - if the argument is not a known delivery semantics value.protected Object readResolve() throws ObjectStreamException
ObjectStreamExceptionpublic static DeliverySemantics[] getAllDeliverySemantics()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.ifc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice