Uses of Class
org.acemq.amqp.api.Ack
Packages that use Ack
-
Uses of Ack in org.acemq.amqp.api
Methods in org.acemq.amqp.api that return AckModifier and TypeMethodDescriptionstatic AckAck.accept()The message was handled successfully and must not be delivered again.static AckAck.deadLetter(String reason) The message can never be handled by this consumer, so it goes straight to the dead-letter queue without consuming retry attempts.static AckAck.release()This consumer will not handle the message, but another one should be given the chance.static AckThe attempt failed but is worth repeating, so the message goes to the next retry tier with its attempt counter incremented.Methods in org.acemq.amqp.api with parameters of type AckModifier and TypeMethodDescriptiondefault voidConsumeInterceptor.afterHandle(ConsumeContext context, Ack ack) Called after the handler returns or throws, before the delivery is settled.