ActiveMQ連接超時報錯常見解決辦法

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章