@FunctionalInterface
public interface RabbitListenerErrorHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
handleError(Message amqpMessage,
org.springframework.messaging.Message<?> message,
ListenerExecutionFailedException exception)
Handle the error.
|
java.lang.Object handleError(Message amqpMessage, org.springframework.messaging.Message<?> message, ListenerExecutionFailedException exception) throws java.lang.Exception
replyTo/@SendTo semantics.amqpMessage - the raw message received.message - the converted spring-messaging message.exception - the exception the listener threw, wrapped in a
ListenerExecutionFailedException.java.lang.Exception - an exception which may be the original or different.