@ManagedResource(description="ZooKeeper Endpoint") @UriEndpoint(firstVersion="2.9.0", scheme="zookeeper", title="ZooKeeper", syntax="zookeeper:serverUrls/path", consumerClass=ZooKeeperConsumer.class, label="clustering") public class ZooKeeperEndpoint extends org.apache.camel.impl.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() |
boolean |
getAwaitExistence()
Deprecated.
The usage of this property has no effect at all.
|
long |
getBackoff() |
ZooKeeperConfiguration |
getConfiguration() |
boolean |
getCreate() |
String |
getPath() |
boolean |
getRepeat() |
List<String> |
getServers() |
int |
getTimeout() |
boolean |
isListChildren() |
boolean |
isSendEmptyMessageOnDelete() |
boolean |
isSingleton() |
void |
setAwaitExistence(boolean awaitExistence)
Deprecated.
The usage of this property has no effect at all.
|
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, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ZooKeeperEndpoint(String uri, ZooKeeperComponent component, ZooKeeperConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public 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)
@Deprecated public boolean getAwaitExistence()
@Deprecated public void setAwaitExistence(boolean awaitExistence)
@ManagedOperation public void addServer(String server)
@ManagedOperation public void clearServers()
@ManagedAttribute public boolean isSendEmptyMessageOnDelete()
public void setSendEmptyMessageOnDelete(boolean sendEmptyMessageOnDelete)
Apache Camel