Example usage for Java org.springframework.amqp.rabbit.connection RabbitUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | closeChannel(@Nullable Channel channel) Close the given RabbitMQ Channel and ignore any thrown exception. |
void | closeConnection(@Nullable Connection connection) Close the given RabbitMQ Connection and ignore any thrown exception. |
void | closeMessageConsumer(Channel channel, Collection |
void | commitIfNecessary(Channel channel) Commit the Channel if not within a JTA transaction. |
boolean | isMismatchedQueueArgs(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. |
void | rollbackIfNecessary(Channel channel) |
void | setPhysicalCloseRequired(Channel channel, boolean b) Sets a ThreadLocal indicating the channel MUST be physically closed. |