141142143144145146147148149150
assertTrue("Should have a broker!", broker != null); assertEquals("Broker name not set!", brokerName, broker.getBrokerName()); container.start(); container.stop(); return container; } }
979899100101102103104105106107
public synchronized void doStop() throws Exception { if (container != null) { BrokerContainer temp = container; container = null; temp.stop(); } } public synchronized void doFail() { if (container != null) {
106107108109110111112113114115116
public synchronized void doFail() { if (container != null) { BrokerContainer temp = container; container = null; try { temp.stop(); } catch (JMSException e) { log.info("Caught while closing due to failure: " + e, e); } }
101102103104105106107108109110111
public synchronized void doStop() throws WaitingException, Exception { if (container != null) { BrokerContainer temp = container; container = null; temp.stop(); } } public synchronized void doFail() { if (container != null) {
110111112113114115116117118119120
186187188189190191192193194