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