使用Artemis Topic和WildFly登录洪水

时间:2018-05-22 16:56:21

标签: wildfly spring-jms activemq-artemis

我在WildFly 12上部署了Spring应用程序,并带有JMS侦听器:

@Component
public class Service {

    @JmsListener(destination = "my-topic")
    public void myTopicListener(Message myTopicMessage) {
    }

}

哪个可以正常工作:每当我发送一些东西到#34;我的主题"通知听众。

唯一的问题是当应用程序启动时,日志会被这些消息充斥:

18:49:00,022 INFO  [org.apache.activemq.artemis.core.server] (Thread-2 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:01,043 INFO  [org.apache.activemq.artemis.core.server] (Thread-3 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:02,063 INFO  [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:03,081 INFO  [org.apache.activemq.artemis.core.server] (Thread-4 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:04,097 INFO  [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:05,117 INFO  [org.apache.activemq.artemis.core.server] (Thread-5 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:06,136 INFO  [org.apache.activemq.artemis.core.server] (Thread-4 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:07,151 INFO  [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:08,164 INFO  [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:09,180 INFO  [org.apache.activemq.artemis.core.server] (Thread-5 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:10,197 INFO  [org.apache.activemq.artemis.core.server] (Thread-5 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:11,227 INFO  [org.apache.activemq.artemis.core.server] (Thread-5 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:12,245 INFO  [org.apache.activemq.artemis.core.server] (Thread-0 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:13,275 INFO  [org.apache.activemq.artemis.core.server] (Thread-6 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:14,292 INFO  [org.apache.activemq.artemis.core.server] (Thread-4 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic
18:49:15,308 INFO  [org.apache.activemq.artemis.core.server] (Thread-2 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@360219ba)) AMQ221052: Deploying topic jms.topic.my-topic

什么是触发此日志?

我使用的是Spring Boot 2.0.2和spring-boot-starter-artemis

0 个答案:

没有答案