Rossen Stoyanchev opened SPR-11563 and commented
Turn off broker availability immediately when StompBrokerRelayMessageHandler is stopped rather than simply shutting down the TcpClient and waiting until the system connection is closed. Also reject messages when the broker becomes unavailable.
Add accessor for brokerAvailable to AbstractBrokerMessageHandler and ensure the flag is always set regardless of the presence of an eventPublisher.
Affects: 4.0.2
Referenced from: commits 6bcbb94