activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emma <>
Subject How to create ActiveMQ MQTT broker to connect to Moquitto broker
Date Mon, 29 Aug 2016 10:25:04 GMT
I want to use ActiveMQ to create a broker to connect to another Mosquitto
broker. And then, I can use ActiveMQ to receive the message from Mosquitto

What I am done now is:
  1. integrate the ActiveMQ with JBoss EAP 6.3.
  2. create MQTT broker in ActiveMQ:

But after I add NetworkConnector in broker-config.xml:

  <transportConnector name="openwire" uri="tcp://localhost:61616"/>
  <transportConnector name="mqtt" uri="mqtt://localhost:1883"/>

   <networkConnector uri="static:(tcp://mosquitto_server_ip:1883)"/>

the server shows exception after starting:
    "Network connection between vm://localhost#8 and
tcp:///mosquitto_server_ip:1883@42688 shutdown due to a remote error:

I also try to use "mqtt://..." to connect, but it's still failed:
    java.lang.IllegalArgumentException: Invalid connect parameters:

Does anyone know how to use JBoss ActiveMQ to connect to mosquitto broker?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message