Added a test to check the cleaning of server status in start/sop cycles (usually used in integration tests itself.
This commit is contained in:
+6
@@ -70,11 +70,17 @@ public class SubscriptionsStore {
|
||||
m_storageService = storageService;
|
||||
|
||||
//reload any subscriptions persisted
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("subscription tree before {}", dumpTree());
|
||||
}
|
||||
LOG.debug("Reloading all stored subscriptions...");
|
||||
for (Subscription subscription : m_storageService.retrieveAllSubscriptions()) {
|
||||
LOG.debug("Re-subscribing {} to topic {}", subscription.getClientId(), subscription.getTopic());
|
||||
addDirect(subscription);
|
||||
}
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("subscription tree after {}", dumpTree());
|
||||
}
|
||||
LOG.debug("Finished loading");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user