Uses of Class
org.springframework.amqp.rabbit.connection.RabbitResourceHolder
Packages that use RabbitResourceHolder
Package
Description
Provides classes related to connections.
Provides classes for message listener containers.
-
Uses of RabbitResourceHolder in org.springframework.amqp.rabbit.connection
Methods in org.springframework.amqp.rabbit.connection that return RabbitResourceHolderModifier and TypeMethodDescriptionstatic RabbitResourceHolderConnectionFactoryUtils.bindResourceToTransaction(RabbitResourceHolder resourceHolder, ConnectionFactory connectionFactory, boolean synched) static RabbitResourceHolderConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactory connectionFactory, boolean synchedLocalTransactionAllowed) Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.static RabbitResourceHolderConnectionFactoryUtils.getTransactionalResourceHolder(ConnectionFactory connectionFactory, boolean synchedLocalTransactionAllowed, boolean publisherConnectionIfPossible) Obtain a RabbitMQ Channel that is synchronized with the current transaction, if any.protected RabbitResourceHolderRabbitAccessor.getTransactionalResourceHolder()Methods in org.springframework.amqp.rabbit.connection with parameters of type RabbitResourceHolderModifier and TypeMethodDescriptionstatic RabbitResourceHolderConnectionFactoryUtils.bindResourceToTransaction(RabbitResourceHolder resourceHolder, ConnectionFactory connectionFactory, boolean synched) com.rabbitmq.client.ChannelConnectionFactoryUtils.ResourceFactory.getChannel(RabbitResourceHolder holder) Fetch an appropriate Channel from the given RabbitResourceHolder.protected com.rabbitmq.client.ChannelRabbitAccessor.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 ConnectionRabbitAccessor.getConnection(RabbitResourceHolder holder) Fetch an appropriate Connection from the given RabbitResourceHolder.static voidConnectionFactoryUtils.releaseResources(RabbitResourceHolder resourceHolder) -
Uses of RabbitResourceHolder in org.springframework.amqp.rabbit.listener
Methods in org.springframework.amqp.rabbit.listener with parameters of type RabbitResourceHolderModifier and TypeMethodDescriptionprotected voidAbstractMessageListenerContainer.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.