Uses of Interface
org.springframework.amqp.rabbit.connection.Connection
Package
Description
Provides classes related to connections.
Provides core classes for Spring Rabbit.
-
Uses of Connection in org.springframework.amqp.rabbit.connection
Modifier and TypeInterfaceDescriptioninterface
Subinterface ofConnection
to be implemented by Connection proxies.Modifier and TypeMethodDescriptionprotected final Connection
AbstractConnectionFactory.createBareConnection()
AbstractRoutingConnectionFactory.createConnection()
final Connection
CachingConnectionFactory.createConnection()
ConnectionFactory.createConnection()
static Connection
ConnectionFactoryUtils.createConnection
(ConnectionFactory connectionFactory, boolean publisherConnectionIfPossible) Create a connection with this connection factory and/or its publisher factory.ConnectionFactoryUtils.ResourceFactory.createConnection()
Create a new RabbitMQ Connection for registration with a RabbitResourceHolder.LocalizedQueueConnectionFactory.createConnection()
PooledChannelConnectionFactory.createConnection()
protected Connection
RabbitAccessor.createConnection()
Create a RabbitMQ Connection via this template's ConnectionFactory and its host and port values.ThreadChannelConnectionFactory.createConnection()
ConnectionBlockedEvent.getConnection()
ConnectionFactoryUtils.ResourceFactory.getConnection
(RabbitResourceHolder holder) Fetch an appropriate Connection from the given RabbitResourceHolder.ConnectionUnblockedEvent.getConnection()
protected Connection
RabbitAccessor.getConnection
(RabbitResourceHolder holder) Fetch an appropriate Connection from the given RabbitResourceHolder.RabbitResourceHolder.getConnection()
ConnectionProxy.getTargetConnection()
Return the target Channel of this proxy.Modifier and TypeMethodDescriptionfinal void
RabbitResourceHolder.addChannel
(com.rabbitmq.client.Channel channel, Connection connection) final void
RabbitResourceHolder.addConnection
(Connection connection) static void
RabbitUtils.closeConnection
(Connection connection) Close the given RabbitMQ Connection and ignore any thrown exception.com.rabbitmq.client.Channel
ConnectionFactoryUtils.ResourceFactory.createChannel
(Connection con) Create a new RabbitMQ Session for registration with a RabbitResourceHolder.void
CompositeConnectionListener.onClose
(Connection connection) default void
ConnectionListener.onClose
(Connection connection) Called when a connection is closed.void
CompositeConnectionListener.onCreate
(Connection connection) void
ConnectionListener.onCreate
(Connection connection) Called when a new connection is established.ModifierConstructorDescriptionConnectionBlockedEvent
(Connection source, String reason) ConnectionUnblockedEvent
(Connection source) -
Uses of Connection in org.springframework.amqp.rabbit.core
Modifier and TypeMethodDescriptionvoid
DeclareExchangeConnectionListener.onClose
(Connection connection) void
BrokerEventListener.onCreate
(Connection connection) void
DeclareExchangeConnectionListener.onCreate
(Connection connection)