protected synchronized void stop() {
_loggerL.entering(_className, "stop()");
try {
// brokerInstance field will get set to null when we call stop() so take a copy
BrokerInstance brokerInstance = directBroker;
brokerInstance.stop();
brokerInstance.shutdown();
directBroker = null;
} catch (Exception bse) {
_loggerL.severe(_lgrMID_EXC + "stop:Exception on in-VM broker shutdown:msg=" + bse.getMessage());
bse.printStackTrace();