public synchronized void doStop() throws WaitingException, Exception {
if (brokerConnector != null) {
ActiveMQConnectionFactory.unregisterBroker(url);
BrokerConnector temp = brokerConnector;
brokerConnector = null;
temp.stop();
}
}
public synchronized void doFail() {
if (brokerConnector != null) {