From 2c802479f99ff5eeeb0958b0869c700f55c0e889 Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Thu, 15 May 2014 12:57:46 +0000 Subject: QPID-5715: [Java Broker] Make virtualhostnode respect states ACTIVE and STOPPED * Added test to ensure that the VHN can transit between ACTIVE <=> STOPPED * Fixed defect whereby the VHN could not be recovered in the STOPPED state. Added test case. * Fixed defct whereby on stopping a VHN, the DurableConfigurationStore would be left open. Work by me and Andrew MacBean . git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594903 13f79535-47bb-0310-9956-ffa450edef68 --- .../virtualhostnode/AbstractVirtualHostNode.java | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'qpid/java/broker-core/src') diff --git a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/virtualhostnode/AbstractVirtualHostNode.java b/qpid/java/broker-core/src/main/java/org/apache/qpid/server/virtualhostnode/AbstractVirtualHostNode.java index ca521f82df..2f8860a3a0 100644 --- a/qpid/java/broker-core/src/main/java/org/apache/qpid/server/virtualhostnode/AbstractVirtualHostNode.java +++ b/qpid/java/broker-core/src/main/java/org/apache/qpid/server/virtualhostnode/AbstractVirtualHostNode.java @@ -211,9 +211,10 @@ public abstract class AbstractVirtualHostNode