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)
PollExceptionStrategy
handleException
in interface PollExceptionStrategy
exception
- the caused exception which typically would be a KafkaException
Apache Camel