diff --git a/spring-amqp/src/main/java/com/ossez/springamqp/simple/AMQPHelloWorldMessageApp.java b/spring-amqp/src/main/java/com/ossez/springamqp/simple/AMQPHelloWorldMessageApp.java index 63c46fac1a..9ccef845a2 100644 --- a/spring-amqp/src/main/java/com/ossez/springamqp/simple/AMQPHelloWorldMessageApp.java +++ b/spring-amqp/src/main/java/com/ossez/springamqp/simple/AMQPHelloWorldMessageApp.java @@ -56,13 +56,9 @@ public class AMQPHelloWorldMessageApp { @Bean Queue myQueue() { Map args = new HashMap<>(); -// // set the queue with a dead letter feature -// args.put("x-queue-type", "classic"); + args.put("x-queue-type", "classic"); return new Queue(MY_QUEUE_NAME, NON_DURABLE, false, false, args); -// return new Queue(MY_QUEUE_NAME, NON_DURABLE); - - }