Thank you Tim for your response. When I an mqtt transport connector to my broker-config " <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1884?transport.useKeepAlive=true"/> " and I try to connect to it using apache paho java, I am getting this exception :
Exception in thread "main" java.lang.IllegalArgumentException: mqtt://0.0.0.0:1884 at org.eclipse.paho.client.mqttv3.MqttConnectOptions.validateURI(MqttConnectOptions.java:509) at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:291) at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185) at client.Client.main(Client.java:46) Also I still have problem with paho java client and activemq websocket( http://activemq.2283324.n4.nabble.com/Connection-to-activemq-broker-is-lost-within-one-second-td4726204.html <http://activemq.2283324.n4.nabble.com/Connection-to-activemq-broker-is-lost-within-one-second-td4726204.html> ), I am kind of blocked and I can't progress. Is activemq supporting apache paho client ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Could-not-accept-connection-from-tcp-192-168-0-116-60999-org-apache-activemq-transport-InactivityIOE9-tp4726323p4726328.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.