Interface RabbitTemplate.ReturnsCallback

All Known Implementing Classes:
AsyncRabbitTemplate
Enclosing class:
RabbitTemplate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RabbitTemplate.ReturnsCallback
A callback for returned messages.
Since:
2.3
Author:
Mark Pollack, Mark Fisher, Dave Syer, Gary Russell, Artem Bilan, Ernest Sadykov, Mark Norkin, Mohammad Hewedy, Alexey Platonov, Leonardo Ferreira
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Returned message callback.
  • Method Details

    • returnedMessage

      void returnedMessage(ReturnedMessage returned)
      Returned message callback.
      Parameters:
      returned - the returned message and metadata.