public class DefaultPollExceptionStrategy extends Object implements PollExceptionStrategy
| Constructor and Description |
|---|
DefaultPollExceptionStrategy() |
DefaultPollExceptionStrategy(PollOnError pollOnError) |
| Modifier and Type | Method and Description |
|---|---|
PollOnError |
handleException(Exception exception)
Controls how to handle the exception while polling from Kafka.
|
public DefaultPollExceptionStrategy()
public DefaultPollExceptionStrategy(PollOnError pollOnError)
public PollOnError handleException(Exception exception)
PollExceptionStrategyhandleException in interface PollExceptionStrategyexception - the caused exception which typically would be a KafkaExceptionApache Camel