diff options
author | Martin Ritchie <ritchiem@apache.org> | 2009-04-13 11:56:49 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2009-04-13 11:56:49 +0000 |
commit | 78ac305ea8a8d47467d32a80518b8d830e5116af (patch) | |
tree | 38459c4e2c939520daa0eb11775f21ed98511ab3 /qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java | |
parent | b8ee522006dc367c8c1e481cdf5cf2874dd74d88 (diff) | |
download | qpid-python-78ac305ea8a8d47467d32a80518b8d830e5116af.tar.gz |
QPID-430: Fix message age alerting so that it works on queues which are otherwise inactive.
AMQQueue, VirtualHost, MockAMQQueue: change name of removeExpiredIfNoSubscribers to checkMessageStatus.
AMQQueueMBean: remove unthrown exception
SimpleAMQQueue: add notification checks to checkMessageStatus, remove catch for JMException which checkForNotification no longer throws.
NullApplicationRegistry: set small housekeeping check period so that it runs freuqently and tests don't need to sleep for excessive periods of time
AMQQueueAlertTest: remove subsequent send, notification alerts shouldn't depend on queue activity.
merged from trunk r743357
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5-fix@764421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java')
-rw-r--r-- | qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java b/qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java index 83b18e7a47..88ad87b9c1 100644 --- a/qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java +++ b/qpid/java/broker/src/main/java/org/apache/qpid/server/util/NullApplicationRegistry.java @@ -49,7 +49,8 @@ public class NullApplicationRegistry extends ApplicationRegistry _logger.info("Initialising NullApplicationRegistry"); _configuration.addProperty("store.class", "org.apache.qpid.server.store.MemoryMessageStore"); - + _configuration.addProperty("housekeeping.expiredMessageCheckPeriod", "200"); + Properties users = new Properties(); users.put("guest", "guest"); |