Interface RabbitTemplate.ReturnCallback

    • Method Detail

      • returnedMessage

        void returnedMessage​(Message message,
                             int replyCode,
                             String replyText,
                             String exchange,
                             String routingKey)
        Deprecated.
        Returned message callback.
        Parameters:
        message - the returned message.
        replyCode - the reply code.
        replyText - the reply text.
        exchange - the exchange.
        routingKey - the routing key.
      • returnedMessage

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