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) |
protected com.rabbitmq.client.Channel |
RabbitAccessor.getChannel(RabbitResourceHolder holder)
Fetch an appropriate Channel from the given RabbitResourceHolder.
|
com.rabbitmq.client.Channel |
ConnectionFactoryUtils.ResourceFactory.getChannel(RabbitResourceHolder holder)
Fetch an appropriate Channel from the given RabbitResourceHolder.
|
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.
|
static void |
ConnectionFactoryUtils.releaseResources(RabbitResourceHolder resourceHolder) |
Copyright © 2017. All rights reserved.