diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-09-03 16:00:10 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-09-03 16:00:10 +0000 |
| commit | 2c82cdf278c35b61aaab5681f88269e36213a906 (patch) | |
| tree | 5fb4bef8553bb0b80ae8152559cad63383aabf8a /java/broker/src/main | |
| parent | 6613cc7a2c0395a5496f85eeeb84ced82e4b0f38 (diff) | |
| download | qpid-python-2c82cdf278c35b61aaab5681f88269e36213a906.tar.gz | |
QPID-1269 : Added queue registration as part of the creation via the Factory. Updated direct creations to use the factory.. where possible.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker/src/main')
| -rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java b/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java index 19e98f416d..be8c19d18f 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java +++ b/java/broker/src/main/java/org/apache/qpid/server/queue/AMQQueueFactory.java @@ -70,6 +70,9 @@ public class AMQQueueFactory { q.configure(queueConfiguration); } + + //Register the new queue + virtualHost.getQueueRegistry().registerQueue(q); return q; } } |
