Skip to content

Commit f4c970e

Browse files
garyrussellartembilan
authored andcommitted
GH-1062: Fix missing queues log message
Fixes #1062 **cherry-pick to 2.1.x, 2.0.x**
1 parent ee43404 commit f4c970e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/SimpleMessageListenerContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ public void run() {
10991099
publishConsumerFailedEvent("Consumer thread interrupted, processing stopped", true, e);
11001100
}
11011101
catch (QueuesNotAvailableException ex) {
1102-
logger.error("Consumer received fatal=" + isMismatchedQueuesFatal() + " exception on startup", ex);
1102+
logger.error("Consumer threw missing queues exception, fatal=" + isMissingQueuesFatal(), ex);
11031103
if (isMissingQueuesFatal()) {
11041104
this.startupException = ex;
11051105
// Fatal, but no point re-throwing, so just abort.

0 commit comments

Comments
 (0)