Turned out everything was fine except the application server I was using i.e. *Tomcat*. For this thing to work I had to change application server from /tomcat/ to *Jetty v9.1.5.*
-- View this message in context: http://activemq.2283324.n4.nabble.com/Problem-Subscribing-to-AMQ-Topic-using-amq-js-tp4684795p4685403.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.