Skip to content

Commit a22a1ce

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 a081b83 commit a22a1ce

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
@@ -1187,7 +1187,7 @@ public void run() { // NOSONAR - line count
11871187
publishConsumerFailedEvent("Consumer thread interrupted, processing stopped", true, e);
11881188
}
11891189
catch (QueuesNotAvailableException ex) {
1190-
logger.error("Consumer received fatal=" + isMismatchedQueuesFatal() + " exception on startup", ex);
1190+
logger.error("Consumer threw missing queues exception, fatal=" + isMissingQueuesFatal(), ex);
11911191
if (isMissingQueuesFatal()) {
11921192
this.startupException = ex;
11931193
// Fatal, but no point re-throwing, so just abort.

0 commit comments

Comments
 (0)