This commit is contained in:
redkale
2023-10-13 22:06:47 +08:00
parent 98ff3cdfcf
commit bad571aecb

View File

@@ -162,7 +162,7 @@ public abstract class MessageAgent implements Resourcable {
} }
this.startMessageClientConsumers(); this.startMessageClientConsumers();
List<String> topics = new ArrayList<>(); List<String> topics = new ArrayList<>();
if (this.httpMessageClient.isEmpty()) { if (!this.httpMessageClient.isEmpty()) {
topics.addAll(this.httpMessageClient.getTopics()); topics.addAll(this.httpMessageClient.getTopics());
} }
if (!this.sncpMessageClient.isEmpty()) { if (!this.sncpMessageClient.isEmpty()) {