Class ConnectionBlockedEvent

  • All Implemented Interfaces:
    java.io.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:
    BlockedListener.handleBlocked(String), Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Connection getConnection()  
      java.lang.String getReason()  
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionBlockedEvent

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

      • getConnection

        public Connection getConnection()
      • getReason

        public java.lang.String getReason()