@ManagedResource(description="ZooKeeper Endpoint")
@UriEndpoint(firstVersion="2.9.0",
scheme="zookeeper",
title="ZooKeeper",
syntax="zookeeper:serverUrls/path",
category={CLUSTERING,MANAGEMENT,BIGDATA})
public class ZooKeeperEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
ZooKeeperEndpoint(String uri,
ZooKeeperComponent component,
ZooKeeperConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addServer(String server) |
void |
clearServers() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStop() |
long |
getBackoff() |
ZooKeeperConfiguration |
getConfiguration() |
boolean |
getCreate() |
String |
getPath() |
boolean |
getRepeat() |
List<String> |
getServers() |
int |
getTimeout() |
boolean |
isListChildren() |
boolean |
isSendEmptyMessageOnDelete() |
void |
setBackoff(long backoff) |
void |
setConfiguration(ZooKeeperConfiguration configuration) |
void |
setCreate(boolean shouldCreate) |
void |
setListChildren(boolean listChildren) |
void |
setPath(String path) |
void |
setRepeat(boolean shouldRepeat) |
void |
setSendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete) |
void |
setServers(List<String> servers) |
void |
setTimeout(int timeout) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ZooKeeperEndpoint(String uri, ZooKeeperComponent component, ZooKeeperConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic void setConfiguration(ZooKeeperConfiguration configuration)
public ZooKeeperConfiguration getConfiguration()
public void setPath(String path)
@ManagedAttribute public String getPath()
@ManagedAttribute public int getTimeout()
public void setTimeout(int timeout)
@ManagedAttribute public boolean getRepeat()
public void setRepeat(boolean shouldRepeat)
@ManagedAttribute public boolean isListChildren()
public void setListChildren(boolean listChildren)
@ManagedAttribute public boolean getCreate()
public void setCreate(boolean shouldCreate)
@ManagedAttribute public long getBackoff()
public void setBackoff(long backoff)
@ManagedOperation public void addServer(String server)
@ManagedOperation public void clearServers()
@ManagedAttribute public boolean isSendEmptyMessageOnDelete()
public void setSendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
Apache Camel