org.apache.qpid.server.configuration
Class TopicConfiguration
java.lang.Object
org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
org.apache.qpid.server.configuration.TopicConfiguration
- All Implemented Interfaces:
- ExchangeConfigurationPlugin
public class TopicConfiguration
- extends ConfigurationPlugin
- implements ExchangeConfigurationPlugin
Methods inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin |
addConfiguration, contains, containsBoolean, containsInt, containsLong, containsPositiveLong, getBooleanValue, getBooleanValue, getConfig, getConfiguration, getDoubleValue, getDoubleValue, getIntValue, getIntValue, getListValue, getListValue, getLongValue, getLongValue, getStringValue, getStringValue, hasConfiguration, mergeConfiguration, setConfiguration, showKeys, toString, validatePositiveLong |
FACTORY
public static final ConfigurationPluginFactory FACTORY
_topics
Map<String,TopicConfig> _topics
_subscriptions
Map<String,Map<String,TopicConfig>> _subscriptions
TopicConfiguration
public TopicConfiguration()
getElementsProcessed
public String[] getElementsProcessed()
- Description copied from class:
ConfigurationPlugin
- The Elements that this Plugin can process.
For a Queues plugin that would be a list containing:
- queue - the queue entries
- the alerting values for defaults
- exchange - the default exchange
- durable - set the default durablity
- Specified by:
getElementsProcessed
in class ConfigurationPlugin
validateConfiguration
public void validateConfiguration()
throws ConfigurationException
- Description copied from class:
ConfigurationPlugin
- Performs configuration validation.
- Overrides:
validateConfiguration
in class ConfigurationPlugin
- Throws:
ConfigurationException
formatToString
public String formatToString()
- Overrides:
formatToString
in class ConfigurationPlugin
getConfiguration
public ConfigurationPlugin getConfiguration(AMQQueue queue)
- This processes the given queue and apply configuration in the following
order:
Global Topic Values -> Topic Values -> Subscription Values
- Specified by:
getConfiguration
in interface ExchangeConfigurationPlugin
- Parameters:
queue
-
- Returns:
Licensed to the Apache Software Foundation