Skip to content

Refine BrokerAvailabilityEvent behavior in spring-messaging [SPR-11563] #16187

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions