Invalid connect parameters: {wireFormat.host=localhost}

phil_zhang 发布于 2016/06/03 19:04
阅读 355
收藏 0

@kimmking 你好,想跟你请教个问题:


activemq  使用mqtt协议 , 应该怎么配置:

目前配置报错:


used by: javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {wireFormat.host=localhost}
 at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:36)
 at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:335)
 at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:348)
 at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:306)
 at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:246)
 at org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:180)
 at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:484)
 ... 3 more
Caused by: java.lang.IllegalArgumentException: Invalid connect parameters: {wireFormat.host=localhost}
 at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:130)
 at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:69)
 at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:333)
 ... 8 more

加载中
返回顶部
顶部