Package | Description |
---|---|
org.springframework.amqp.rabbit.connection |
Provides classes related to connections.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectionProxy
Subinterface of
Connection to be implemented by
Connection proxies. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleConnection
Simply a Connection.
|
Modifier and Type | Method and Description |
---|---|
protected Connection |
AbstractConnectionFactory.createBareConnection() |
protected Connection |
RabbitAccessor.createConnection()
Create a RabbitMQ Connection via this template's ConnectionFactory and its host and port values.
|
Connection |
CachingConnectionFactory.createConnection() |
Connection |
AbstractRoutingConnectionFactory.createConnection() |
Connection |
ConnectionFactory.createConnection() |
Connection |
ConnectionFactoryUtils.ResourceFactory.createConnection()
Create a new RabbitMQ Connection for registration with a RabbitResourceHolder.
|
Connection |
RabbitResourceHolder.getConnection() |
Connection |
RabbitResourceHolder.getConnection(Class<? extends Connection> connectionType) |
protected Connection |
RabbitAccessor.getConnection(RabbitResourceHolder holder)
Fetch an appropriate Connection from the given RabbitResourceHolder.
|
Connection |
ConnectionFactoryUtils.ResourceFactory.getConnection(RabbitResourceHolder holder)
Fetch an appropriate Connection from the given RabbitResourceHolder.
|
Connection |
ConnectionProxy.getTargetConnection()
Return the target Channel of this proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
RabbitResourceHolder.addChannel(com.rabbitmq.client.Channel channel,
Connection connection) |
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) |
void |
ConnectionListener.onClose(Connection connection) |
void |
CompositeConnectionListener.onCreate(Connection connection) |
void |
ConnectionListener.onCreate(Connection connection) |
Modifier and Type | Method and Description |
---|---|
Connection |
RabbitResourceHolder.getConnection(Class<? extends Connection> connectionType) |
Copyright © 2017. All rights reserved.