mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Merge branch '7.0.x'
This commit is contained in:
+2
-2
@@ -334,7 +334,7 @@ public abstract class AbstractBrokerMessageHandler
|
||||
boolean shouldPublish = this.brokerAvailable.compareAndSet(false, true);
|
||||
if (this.eventPublisher != null && shouldPublish) {
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info(this.availableEvent);
|
||||
logger.info(this.availableEvent.toString());
|
||||
}
|
||||
this.eventPublisher.publishEvent(this.availableEvent);
|
||||
}
|
||||
@@ -344,7 +344,7 @@ public abstract class AbstractBrokerMessageHandler
|
||||
boolean shouldPublish = this.brokerAvailable.compareAndSet(true, false);
|
||||
if (this.eventPublisher != null && shouldPublish) {
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info(this.notAvailableEvent);
|
||||
logger.info(this.notAvailableEvent.toString());
|
||||
}
|
||||
this.eventPublisher.publishEvent(this.notAvailableEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user