Class ConditionalDelegatingErrorHandler

java.lang.Object
org.springframework.kafka.listener.ConditionalDelegatingErrorHandler
All Implemented Interfaces:
ConsumerAwareErrorHandler, ContainerAwareErrorHandler, ErrorHandler, GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>, RemainingRecordsErrorHandler

@Deprecated public class ConditionalDelegatingErrorHandler extends Object implements ContainerAwareErrorHandler
Deprecated.
An error handler that delegates to different error handlers, depending on the exception type.
Since:
2.7.4
Author:
Gary Russell
  • Constructor Details

    • ConditionalDelegatingErrorHandler

      public ConditionalDelegatingErrorHandler(ContainerAwareErrorHandler defaultErrorHandler)
      Deprecated.
      Construct an instance with a default error handler that will be invoked if the exception has no matches.
      Parameters:
      defaultErrorHandler - the default error handler.
  • Method Details