Uses of Class
org.springframework.amqp.rabbit.connection.RabbitResourceHolder
Package
Description
Provides classes related to connections.
Provides classes for message listener containers.
-
Uses of RabbitResourceHolder in org.springframework.amqp.rabbit.connection
Modifier and TypeMethodDescriptionstatic RabbitResourceHolder
ConnectionFactoryUtils.bindResourceToTransaction
(RabbitResourceHolder resourceHolder, ConnectionFactory connectionFactory, boolean synched) static RabbitResourceHolder
ConnectionFactoryUtils.getTransactionalResourceHolder
(ConnectionFactory connectionFactory, boolean synchedLocalTransactionAllowed) Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.static RabbitResourceHolder
ConnectionFactoryUtils.getTransactionalResourceHolder
(ConnectionFactory connectionFactory, boolean synchedLocalTransactionAllowed, boolean publisherConnectionIfPossible) Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.protected RabbitResourceHolder
RabbitAccessor.getTransactionalResourceHolder()
Modifier and TypeMethodDescriptionstatic RabbitResourceHolder
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.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) -
Uses of RabbitResourceHolder in org.springframework.amqp.rabbit.listener
Modifier and TypeMethodDescriptionprotected void
AbstractMessageListenerContainer.prepareHolderForRollback
(RabbitResourceHolder resourceHolder, RuntimeException exception) A null resource holder is rare, but possible if the transaction attribute caused no transaction to be started (e.g.