summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-04-17 14:19:54 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-04-17 14:19:54 +0000
commitf84ceed4318dd16171a10b7255f7ff21dd494e51 (patch)
treee56a48c0b636bba717e759c2e98c2382b7528cc3
parent9c71e3f67f1a327cdb6638ca26fac7a812fa1593 (diff)
downloadqpid-python-f84ceed4318dd16171a10b7255f7ff21dd494e51.tar.gz
QPID-1820: configure queues on creation
merged from trunk r766004 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-release@766024 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java
index 84b59456cb..7509350e65 100644
--- a/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java
+++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java
@@ -38,7 +38,6 @@ public class AMQQueueFactory
VirtualHost virtualHost, final FieldTable arguments)
throws AMQException
{
-
final int priorities = arguments == null ? 1 : arguments.containsKey(X_QPID_PRIORITIES) ? arguments.getInteger(X_QPID_PRIORITIES) : 1;
AMQQueue q = null;
@@ -53,6 +52,7 @@ public class AMQQueueFactory
//Register the new queue
virtualHost.getQueueRegistry().registerQueue(q);
+ q.configure(virtualHost.getConfiguration().getQueueConfiguration(name.asString()));
return q;
}