@FunctionalInterface
public interface KafkaListenerErrorHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
handleError(org.springframework.messaging.Message<?> message,
ListenerExecutionFailedException exception)
Handle the error.
|
java.lang.Object handleError(org.springframework.messaging.Message<?> message,
ListenerExecutionFailedException exception)
throws java.lang.Exception
message - the 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.