当前位置:   article > 正文

ActiveMQ连接超时报错常见解决办法_failed to connect to [tcp://127.0.0.1:61616?wirefo

failed to connect to [tcp://127.0.0.1:61616?wireformat.maxinactivityduration

1.报错详细信息如下:

javax.jms.JMSException - Wire format negociation timeout - peer did not send his wire format.

2.修改连接配置如下

2.1增加如下配置:

?wireFormat.maxInactivityDurationInitalDelay=30000

2.2整体配置如下 

tcp://localhost:61616?wireFormat.maxInactivityDurationInitalDelay=30000

参考链接:

http://activemq.apache.org/javaxjmsjmsexception-wire-format-negociation-timeout-peer-did-not-send-his-wire-format.html

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/262674
推荐阅读
相关标签
  

闽ICP备14008679号