Uses of Class
org.acemq.amqp.api.Ack

Packages that use Ack
Package
Description
The public AceMQ AMQP API.
  • Uses of Ack in org.acemq.amqp.api

    Methods in org.acemq.amqp.api that return Ack
    Modifier and Type
    Method
    Description
    static Ack
    Ack.accept()
    The message was handled successfully and must not be delivered again.
    static Ack
    Ack.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.
    AckAwareHandler.handle(Message<T> message)
     
    static Ack
    Ack.release()
    This consumer will not handle the message, but another one should be given the chance.
    static Ack
    Ack.retry(Duration after, String reason)
    The 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 Ack
    Modifier and Type
    Method
    Description
    default void
    ConsumeInterceptor.afterHandle(ConsumeContext context, Ack ack)
    Called after the handler returns or throws, before the delivery is settled.