diff --git a/helloworld/src/main/java/org/springframework/amqp/helloworld/HelloWorldConfiguration.java b/helloworld/src/main/java/org/springframework/amqp/helloworld/HelloWorldConfiguration.java index 395344a..6a6a4fc 100644 --- a/helloworld/src/main/java/org/springframework/amqp/helloworld/HelloWorldConfiguration.java +++ b/helloworld/src/main/java/org/springframework/amqp/helloworld/HelloWorldConfiguration.java @@ -32,12 +32,12 @@ public class HelloWorldConfiguration extends AbstractRabbitConfiguration { } @Bean + // Every queue is bound to the default direct exchange public Queue helloWorldQueue() { return new Queue(this.helloWorldQueueName); } /* - //Each queue is bound to the default direct exchange @Bean public Binding binding() { return declare(new Binding(helloWorldQueue(), defaultDirectExchange())); diff --git a/helloworld/src/main/resources/rabbitConfiguration.xml b/helloworld/src/main/resources/rabbitConfiguration.xml index 36a673c..970f935 100644 --- a/helloworld/src/main/resources/rabbitConfiguration.xml +++ b/helloworld/src/main/resources/rabbitConfiguration.xml @@ -1,7 +1,8 @@ - + @@ -9,8 +10,6 @@ - - - +