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. |
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–2020 OpenMessaging. All rights reserved.