diff --git a/src/main/java/com/andrzejdubaj/rabbitmqdemoapp/RabbitMQQueueConfiguration.java b/src/main/java/com/andrzejdubaj/rabbitmqdemoapp/RabbitMQQueueConfiguration.java index 9dadfea..fd4a2cd 100644 --- a/src/main/java/com/andrzejdubaj/rabbitmqdemoapp/RabbitMQQueueConfiguration.java +++ b/src/main/java/com/andrzejdubaj/rabbitmqdemoapp/RabbitMQQueueConfiguration.java @@ -12,6 +12,7 @@ public class RabbitMQQueueConfiguration { Queue exampleQueue() { return new Queue("ExampleQueue", false); } + @Bean Queue example2andQueue() { return QueueBuilder.durable("Example2ndQueue")