public class KafkaConsumer
extends org.apache.camel.support.DefaultConsumer
Modifier and Type | Field and Description |
---|---|
protected ExecutorService |
executor |
Constructor and Description |
---|
KafkaConsumer(KafkaEndpoint endpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected void |
doBuild() |
protected void |
doStart() |
protected void |
doStop() |
KafkaEndpoint |
getEndpoint() |
createExchange, createUoW, defaultConsumerCallback, doInit, doneUoW, doShutdown, getAsyncProcessor, getExceptionHandler, getHealthCheck, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setHealthCheck, setRoute, setRouteId, toString
build, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected ExecutorService executor
public KafkaConsumer(KafkaEndpoint endpoint, org.apache.camel.Processor processor)
protected void doBuild() throws Exception
doBuild
in class org.apache.camel.support.DefaultConsumer
Exception
public KafkaEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.support.DefaultConsumer
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultConsumer
Exception
Apache Camel