Class ConnectionBlockedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.amqp.event.AmqpEvent
org.springframework.amqp.rabbit.connection.ConnectionBlockedEvent
All Implemented Interfaces:
Serializable

public class ConnectionBlockedEvent extends org.springframework.amqp.event.AmqpEvent
The AmqpEvent emitted by the CachingConnectionFactory when its connections are blocked.
Since:
2.0
See Also:
  • Constructor Details

    • ConnectionBlockedEvent

      public ConnectionBlockedEvent(Connection source, String reason)
  • Method Details

    • getConnection

      public Connection getConnection()
    • getReason

      public String getReason()