Java org.springframework.amqp.rabbit.connection RabbitUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.amqp.rabbit.connection RabbitUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.amqp.rabbit.connection RabbitUtils.

The text is from its open source code.

Method

voidcloseChannel(@Nullable Channel channel)
Close the given RabbitMQ Channel and ignore any thrown exception.
voidcloseConnection(@Nullable Connection connection)
Close the given RabbitMQ Connection and ignore any thrown exception.
voidcloseMessageConsumer(Channel channel, Collection consumerTags, boolean transactional)
voidcommitIfNecessary(Channel channel)
Commit the Channel if not within a JTA transaction.
booleanisMismatchedQueueArgs(Exception e)
Return true if there is a ShutdownSignalException in the cause tree and its reason is "PRECONDITION_FAILED" and the operation being performed was queueDeclare.
voidrollbackIfNecessary(Channel channel)
voidsetPhysicalCloseRequired(Channel channel, boolean b)
Sets a ThreadLocal indicating the channel MUST be physically closed.