| Package | Description |
|---|---|
| org.springframework.amqp.rabbit.connection |
Provides classes related to connections.
|
| Modifier and Type | Method and Description |
|---|---|
protected RabbitResourceHolder |
RabbitAccessor.getTransactionalResourceHolder() |
static RabbitResourceHolder |
ConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactory connectionFactory,
boolean synchedLocalTransactionAllowed)
Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ConnectionFactoryUtils.bindResourceToTransaction(RabbitResourceHolder resourceHolder,
ConnectionFactory connectionFactory,
boolean synched) |
com.rabbitmq.client.Channel |
ConnectionFactoryUtils.ResourceFactory.getChannel(RabbitResourceHolder holder)
Fetch an appropriate Channel from the given RabbitResourceHolder.
|
protected com.rabbitmq.client.Channel |
RabbitAccessor.getChannel(RabbitResourceHolder holder)
Fetch an appropriate Channel from the given RabbitResourceHolder.
|
Connection |
ConnectionFactoryUtils.ResourceFactory.getConnection(RabbitResourceHolder holder)
Fetch an appropriate Connection from the given RabbitResourceHolder.
|
protected Connection |
RabbitAccessor.getConnection(RabbitResourceHolder holder)
Fetch an appropriate Connection from the given RabbitResourceHolder.
|
static void |
ConnectionFactoryUtils.releaseResources(RabbitResourceHolder resourceHolder) |
Copyright © 2021. All rights reserved.