diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2010-06-14 12:36:56 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2010-06-14 12:36:56 +0000 |
| commit | d4c28fabf668dcef1cfd67c7a73e57dc0d168dfd (patch) | |
| tree | 35e453a07ff18066ad39e76fbc895c5982fd1e3b /java/broker-plugins/simple-xml | |
| parent | ad34dd26cdd0aacbe4850712d4ff41a4c8229a81 (diff) | |
| download | qpid-python-d4c28fabf668dcef1cfd67c7a73e57dc0d168dfd.tar.gz | |
QPID-2638 : Add initial support for Topics section in configuration file.
Added getQueueConfiguration(AMQQueue) which will return a new configuration for the given queue reflecting its binding status. This will allow the queue
to be reconfigured during the binding process. Full Docs on this approach to appear on wiki.
AMQQueue.configure and getConfiguration() have been updated to use ConfigurationPlugin rather than QueueConfiguration, The queue may be configured by a TopicConfiguration now.
Update SlowConsumerTest to be GlobalQueuesTest and add a GlobalTopicsTest to match, where the config is added to the queues or topics section respectively
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954433 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker-plugins/simple-xml')
| -rw-r--r-- | java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java b/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java index 1bf8761978..c9a476c5f2 100644 --- a/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java +++ b/java/broker-plugins/simple-xml/src/main/java/org/apache/qpid/server/security/access/plugins/SimpleXML.java @@ -52,7 +52,7 @@ public class SimpleXML extends AbstractPlugin { public SimpleXML newInstance(ConfigurationPlugin config) throws ConfigurationException { - SimpleXMLConfiguration configuration = config.getConfiguration(SimpleXMLConfiguration.class); + SimpleXMLConfiguration configuration = config.getConfiguration(SimpleXMLConfiguration.class.getName()); // If there is no configuration for this plugin then don't load it. if (configuration == null) |
