类 BrokerAvailabilityEvent

    • 构造器详细资料

      • BrokerAvailabilityEvent

        public BrokerAvailabilityEvent​(boolean brokerAvailable,
                                       Object source)
        Creates a new BrokerAvailabilityEvent.
        参数:
        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.