returnedMessage(ReturnedMessage) which is
easier to use with lambdas.@Deprecated @FunctionalInterface public static interface RabbitTemplate.ReturnCallback
| Modifier and Type | Method and 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.
|
void returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey)
message - the returned message.replyCode - the reply code.replyText - the reply text.exchange - the exchange.routingKey - the routing key.default void returnedMessage(ReturnedMessage returned)
returned - the returned message and metadata.