@Component(value="zookeeper-master") public class MasterComponent extends ZookeeperComponentSupport
| Constructor and Description |
|---|
MasterComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> params) |
protected String |
getCamelClusterPath(String name) |
ContainerIdFactory |
getContainerIdFactory() |
String |
getZkRoot() |
void |
setContainerIdFactory(ContainerIdFactory containerIdFactory)
To use a custom ContainerIdFactory for creating container ids.
|
void |
setZkRoot(String zkRoot)
The root path to use in zookeeper where information is stored which nodes are master/slave etc.
|
createGroup, doStart, doStop, getCurator, getMaximumConnectionTimeout, getZooKeeperPassword, getZooKeeperUrl, setCurator, setMaximumConnectionTimeout, setZooKeeperPassword, setZooKeeperUrlafterConfiguration, createEndpoint, createEndpoint, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ContainerIdFactory getContainerIdFactory()
public void setContainerIdFactory(ContainerIdFactory containerIdFactory)
public String getZkRoot()
public void setZkRoot(String zkRoot)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> params) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionApache Camel