public final class ConsulEventConsumer
extends org.apache.camel.support.DefaultConsumer
| Modifier and Type | Field and Description |
|---|---|
protected ConsulConfiguration |
configuration |
protected ConsulEndpoint |
endpoint |
protected AtomicReference<BigInteger> |
index |
protected String |
key |
| Constructor and Description |
|---|
ConsulEventConsumer(ConsulEndpoint endpoint,
ConsulConfiguration configuration,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected Runnable |
createWatcher(com.orbitz.consul.EventClient client) |
protected void |
doStart() |
protected void |
doStop() |
createUoW, doneUoW, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendprotected final ConsulEndpoint endpoint
protected final ConsulConfiguration configuration
protected final String key
protected final AtomicReference<BigInteger> index
public ConsulEventConsumer(ConsulEndpoint endpoint, ConsulConfiguration configuration, org.apache.camel.Processor processor)
Apache Camel