Uses of Interface
org.springframework.amqp.rabbit.connection.Connection
Packages that use Connection
Package
Description
Provides classes related to connections.
Provides core classes for Spring Rabbit.
-
Uses of Connection in org.springframework.amqp.rabbit.connection
Subinterfaces of Connection in org.springframework.amqp.rabbit.connectionModifier and TypeInterfaceDescriptioninterface
Subinterface ofConnection
to be implemented by Connection proxies.Classes in org.springframework.amqp.rabbit.connection that implement ConnectionMethods in org.springframework.amqp.rabbit.connection that return ConnectionModifier 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()
@Nullable Connection
ConnectionFactoryUtils.ResourceFactory.getConnection
(RabbitResourceHolder holder) Fetch an appropriate Connection from the given RabbitResourceHolder.ConnectionUnblockedEvent.getConnection()
protected @Nullable Connection
RabbitAccessor.getConnection
(RabbitResourceHolder holder) Fetch an appropriate Connection from the given RabbitResourceHolder.@Nullable Connection
RabbitResourceHolder.getConnection()
@Nullable Connection
ConnectionProxy.getTargetConnection()
Return the target Channel of this proxy.Methods in org.springframework.amqp.rabbit.connection with parameters of type ConnectionModifier and TypeMethodDescriptionfinal void
RabbitResourceHolder.addChannel
(com.rabbitmq.client.Channel channel, @Nullable Connection connection) final void
RabbitResourceHolder.addConnection
(Connection connection) static void
RabbitUtils.closeConnection
(@Nullable 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
(@Nullable Connection connection) void
ConnectionListener.onCreate
(@Nullable Connection connection) Called when a new connection is established.Constructors in org.springframework.amqp.rabbit.connection with parameters of type ConnectionModifierConstructorDescriptionConnectionBlockedEvent
(Connection source, String reason) ConnectionUnblockedEvent
(Connection source) -
Uses of Connection in org.springframework.amqp.rabbit.core
Methods in org.springframework.amqp.rabbit.core with parameters of type ConnectionModifier and TypeMethodDescriptionvoid
BrokerEventListener.onCreate
(@Nullable Connection connection) void
DeclareExchangeConnectionListener.onCreate
(@Nullable Connection connection)