Class Recover

  • All Implemented Interfaces:
    Serializable

    public class Recover
    extends Object
    implements Serializable
    This class is used in an AMQPRequestNot to notify the distant queue to put back the specified unacknowledged messages in the "ready to deliver" list. This is used on Basic.Recover and Basic.Reject methods, or when a message could not reach its receiver.
    See Also:
    Serialized Form
    • Constructor Detail

      • Recover

        public Recover​(String queueName,
                       List<Long> idsToRecover)
    • Method Detail

      • getQueueName

        public String getQueueName()
      • getIdsToRecover

        public List<Long> getIdsToRecover()