You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-rabbit-test/src/test/java/org/springframework/amqp/rabbit/test/examples/ExampleRabbitListenerCaptureTest.java
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2016-2020 the original author or authors.
2
+
* Copyright 2016-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -139,6 +139,11 @@ public Queue queue2() {
139
139
returnnewAnonymousQueue();
140
140
}
141
141
142
+
@Bean
143
+
publicQueuequeue3() {
144
+
returnnewAnonymousQueue();
145
+
}
146
+
142
147
@Bean
143
148
publicRabbitAdminadmin(ConnectionFactorycf) {
144
149
returnnewRabbitAdmin(cf);
@@ -168,6 +173,7 @@ public String foo(String foo) {
0 commit comments