Package org.apache.activemq.partition
Class ZooKeeperPartitionBrokerPlugin
- java.lang.Object
-
- org.apache.activemq.partition.PartitionBrokerPlugin
-
- org.apache.activemq.partition.ZooKeeperPartitionBrokerPlugin
-
- All Implemented Interfaces:
BrokerPlugin
public class ZooKeeperPartitionBrokerPlugin extends PartitionBrokerPlugin
A PartitionBrokerPlugin which gets it's configuration from ZooKeeper.
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.partition.PartitionBrokerPlugin
config, minTransferCount
-
-
Constructor Summary
Constructors Constructor Description ZooKeeperPartitionBrokerPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetZkAddress()StringgetZkPassword()StringgetZkPath()StringgetZkSessionTmeout()BrokerinstallPlugin(Broker broker)Installs the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.voidsetZkAddress(String zkAddress)voidsetZkPassword(String zkPassword)voidsetZkPath(String zkPath)voidsetZkSessionTmeout(String zkSessionTmeout)-
Methods inherited from class org.apache.activemq.partition.PartitionBrokerPlugin
getBrokerURL, getConfig, getMinTransferCount, setConfig, setConfigAsJson, setMinTransferCount
-
-
-
-
Method Detail
-
installPlugin
public Broker installPlugin(Broker broker) throws Exception
Description copied from interface:BrokerPluginInstalls the plugin into the interceptor chain of the broker, returning the new intercepted broker to use.- Specified by:
installPluginin interfaceBrokerPlugin- Overrides:
installPluginin classPartitionBrokerPlugin- Throws:
Exception
-
getZkAddress
public String getZkAddress()
-
setZkAddress
public void setZkAddress(String zkAddress)
-
getZkPassword
public String getZkPassword()
-
setZkPassword
public void setZkPassword(String zkPassword)
-
getZkPath
public String getZkPath()
-
setZkPath
public void setZkPath(String zkPath)
-
getZkSessionTmeout
public String getZkSessionTmeout()
-
setZkSessionTmeout
public void setZkSessionTmeout(String zkSessionTmeout)
-
-