Class ConnectionBlockedEvent

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • ConnectionBlockedEvent

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

      • getConnection

        public Connection getConnection()
      • getReason

        public String getReason()