Description
Shutting down a broker that has not completed startup due to waiting for a shared filesystem lock does not complete.
Using an internal BrokerService() and it's stop() method is definitely impacted.
The attached patch simply adds a check for "isStopped() || isStopping()" to the MessageDatabase lock loop.