У меня есть приложение Spring, развернутое на WildFly 12, с прослушивателем JMS:
@Component
public class Service {
@JmsListener(destination = "my-topic")
public void myTopicListener(Message myTopicMessage) {
}
}
, который работает нормально: всякий раз, когда я отправляю что-то в "my-topic", слушатель получает уведомление.
Единственная проблема заключается в том, что при запуске приложения журнал заполняется следующими сообщениями:
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
.