spring-framework / org.springframework.messaging.simp.broker / BrokerAvailabilityEvent / <init>

<init>

BrokerAvailabilityEvent(brokerAvailable: Boolean, source: Any)

Creates a new BrokerAvailabilityEvent.

Parameters

brokerAvailable - true if the broker is available, false otherwise

source - the component that is acting as the broker, or as a relay for an external broker, that has changed availability. Must not be null.