Class ConnectionBlockedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConnectionBlockedEvent
    extends AmqpEvent
    The AmqpEvent emitted by the CachingConnectionFactory when its connections are blocked.
    Since:
    2.0
    Author:
    Artem Bilan
    See Also:
    BlockedListener.handleBlocked(String), Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Detail

      • ConnectionBlockedEvent

        public ConnectionBlockedEvent​(Connection source,
                                      java.lang.String reason)
    • Method Detail

      • getConnection

        public Connection getConnection()
      • getReason

        public java.lang.String getReason()