summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2008-07-01 13:56:39 +0000
committerAidan Skinner <aidan@apache.org>2008-07-01 13:56:39 +0000
commit4db79de7e806ceba3a243abef9847f15fc41cc40 (patch)
tree88b5cc100f4c45e833e77d6be876f27d5841794c
parente058e6ec8cbf8eeb1b9e85f91e9b818645667922 (diff)
downloadqpid-python-4db79de7e806ceba3a243abef9847f15fc41cc40.tar.gz
QPID-887: name housekeeping thread properly.
Apply patch from suran at wso2 dot com git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673082 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
index 8b764efa42..f69751b708 100644
--- a/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
+++ b/java/broker/src/main/java/org/apache/qpid/server/virtualhost/VirtualHost.java
@@ -71,7 +71,7 @@ public class VirtualHost implements Accessable
private ACLPlugin _accessManager;
- private final Timer _houseKeepingTimer = new Timer("Queue-housekeeping", true);
+ private final Timer _houseKeepingTimer;
private static final long DEFAULT_HOUSEKEEPING_PERIOD = 30000L;
@@ -146,6 +146,7 @@ public class VirtualHost implements Accessable
// This isn't needed to be registered
//_virtualHostMBean.register();
+ _houseKeepingTimer = new Timer("Queue-housekeeping-"+name, true);
_queueRegistry = new DefaultQueueRegistry(this);
_exchangeFactory = new DefaultExchangeFactory(this);
_exchangeFactory.initialise(hostConfig);