How to declare quorum queues with RabbitAmqpAdmin in Spring AMQP 1.0?
21:32 07 Oct 2026

I am implementing a messaging solution using Spring Boot and RabbitMQ where our primary requirement is high availability and message safety. Because of this, our goal is to ensure that all queues are created as quorum queues on our RabbitMQ cluster.

We are currently adopting the new AMQP 1.0 support provided by Spring AMQP 4.1 and the next generation client library. Our environment runs RabbitMQ 4 in Docker, configured as a multi-node cluster with the default queue type set to quorum in the configuration file.

In our Spring Boot application, we declare our AMQP 1.0 admin bean and configure the queue using the standard Spring queue builder:

@Bean
public RabbitAmqpAdmin admin(AmqpConnectionFactory connectionFactory) {
    return new RabbitAmqpAdmin(connectionFactory);
}

@Bean
public Queue ordersQueue() {
    return QueueBuilder.durable("orders.processing")
        .quorum()
        .build();
}

When we start the application, the Spring context initializes properly, and the queue is created on the broker without any exceptions. However, when we inspect the newly created queue using the management console, the queue type is reported as classic instead of quorum.

To confirm that our cluster configuration is correct, we tested the exact same queue definition in another project running traditional AMQP 0.9.1 with the standard admin bean. In that project, the queue is created as a quorum queue immediately as expected.

After investigating the decompiled bytecode of the admin class in the AMQP 1.0 library, I noticed that the internal declaration logic unconditionally forces the classic queue specification rather than inspecting the queue arguments for the quorum type. Because it explicitly requests a classic queue, RabbitMQ creates a classic queue even though quorum was requested by the builder.

My questions regarding this behavior are:

  1. Is there an officially supported way to declare quorum queues in AMQP 1.0 without having to write a custom subclass of the admin?

  2. Is this a known limitation in the current release of the client library that will be addressed in an upcoming release?

java spring-boot amqp spring-amqp