public static interface MessageListener.Context
| Modifier and Type | Method and Description |
|---|---|
void |
ack()
Acknowledges the specified and consumed message, which is related to this
MessageContext. |
KeyValue |
attributes()
Returns the attributes of this
MessageContext instance. |
KeyValue attributes()
MessageContext instance.void ack()
MessageContext.
Messages that have been received but not acknowledged may be redelivered.
OMSRuntimeException - if the consumer fails to acknowledge the messages due to some internal error.Copyright © 2017–2018 OpenMessaging. All rights reserved.