Package org.apache.qpid.protonj2.client
Interface Modified
- All Superinterfaces:
DeliveryState
- All Known Implementing Classes:
ClientDeliveryState.ClientModified
Modified delivery state or outcome that carries details on the modification
provided by the remote peer or sent by the local client.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.client.DeliveryState
DeliveryState.Type -
Method Summary
Modifier and TypeMethodDescriptiondefault DeliveryState.TypegetType()booleandefault booleanbooleanMethods inherited from interface org.apache.qpid.protonj2.client.DeliveryState
isAccepted, isRejected, isReleased, isTransactional
-
Method Details
-
isDeliveryFailed
boolean isDeliveryFailed()- Returns:
trueif the disposition indicates the delivery failed
-
isUndeliverableHere
boolean isUndeliverableHere()- Returns:
trueif the disposition indicates the delivery should not be attempted again at the target
-
getMessageAnnotations
- Returns:
- a Map containing the annotations applied by the peer that created the disposition
-
getType
- Specified by:
getTypein interfaceDeliveryState- Returns:
- the type that the given
DeliveryStaterepresents.
-
isModified
default boolean isModified()- Specified by:
isModifiedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Modified outcome.
-