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:
java.io.Serializable
public class ConnectionBlockedEvent extends org.springframework.amqp.event.AmqpEventTheAmqpEventemitted by theCachingConnectionFactorywhen its connections are blocked.- Since:
- 2.0
- See Also:
BlockedListener.handleBlocked(String), Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionBlockedEvent(Connection source, java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectiongetConnection()java.lang.StringgetReason()
-
-
-
Constructor Detail
-
ConnectionBlockedEvent
public ConnectionBlockedEvent(Connection source, java.lang.String reason)
-
-
Method Detail
-
getConnection
public Connection getConnection()
-
getReason
public java.lang.String getReason()
-
-