Skip to content

Commit 3ed15cd

Browse files
Spring T2: use a standard queue name
1 parent 0b32ef6 commit 3ed15cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spring-amqp/src/main/java/org/springframework/amqp/tutorials/tut2/Tut2Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Tut2Config {
3131

3232
@Bean
3333
public Queue hello() {
34-
return QueueBuilder.durable("tut.hello").quorum().build();
34+
return QueueBuilder.durable("task_queue").quorum().build();
3535
}
3636

3737
@Profile("receiver")

spring-amqp/src/main/java/org/springframework/amqp/tutorials/tut2/Tut2Receiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @author Gary Russell
2424
* @author Scott Deeg
2525
*/
26-
@RabbitListener(queues = "tut.hello")
26+
@RabbitListener(queues = "task_queue")
2727
public class Tut2Receiver {
2828

2929
private final int instance;

0 commit comments

Comments
 (0)