Interface RabbitTemplate.ReturnCallback
-
- All Known Subinterfaces:
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.
@Deprecated @FunctionalInterface public static interface RabbitTemplate.ReturnCallback
Deprecated.in favor ofreturnedMessage(ReturnedMessage)
which is easier to use with lambdas.A callback for returned messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey)
Deprecated.Returned message callback.default void
returnedMessage(ReturnedMessage returned)
Deprecated.Returned message callback.
-
-
-
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.
-
-