gpt4 book ai didi

spring-boot - 如何禁用transport.failover.FailoverTransport 成功连接到tcp ://localhost:61616 message

转载 作者:行者123 更新时间:2023-12-04 15:31:49 24 4
gpt4 key购买 nike

使用 DefaultJmsListenerContainerFactory 订阅消息时在使用故障转移 activemq 传输的 spring 和 Camel 中,我不断收到低于 INFO 消息的消息。

2016-08-25 15:00:07,235 [ActiveMQ Task-1] INFO  transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:08,265 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:08,265 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:09,296 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:09,328 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:10,299 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:10,346 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616
2016-08-25 15:00:11,318 [ActiveMQ Task-1] INFO transport.failover.FailoverTransport Successfully connected to tcp://localhost:61616

是否可以在控制台上禁用此 INFO 消息,或者是否有任何时间间隔可以在控制台上打印此消息?

我曾尝试使用一些 ActiveMQ 传输连接选项,但它没有帮助我。

最佳答案

我想到的第一件事是,您可以使用此处记录的故障转移参数:http://activemq.apache.org/failover-transport-reference.html

关于spring-boot - 如何禁用transport.failover.FailoverTransport 成功连接到tcp ://localhost:61616 message,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39153184/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com