Structure passed to acknowledgement handler called when a ACK
or NACK
frame is received. The handler
receives an instance of Acknowledgement with the subscription Frame and the impacted messages. The
list of messages depends on the type of acknowledgment used by the subscription.
client
mode receives all messages that were waiting for acknowledgment that were
sent before the acknowledged messages. The list also contains the acknowledged message. This is a cumulative
acknowledgement. Subscriptions using the client-individual
mode receives a singleton list containing only
the acknowledged message.
Constructor and description |
---|
Acknowledgement
(java.lang.Object delegate) |
Type | Name and description |
---|---|
java.util.List<java.util.Map<java.lang.String, java.lang.Object>> |
frames()
|
java.lang.Object |
getDelegate() |
java.util.Map<java.lang.String, java.lang.Object> |
subscription() @return the subscription frame |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |