I have moved the activemq-optional.jar into the lib\optional\ directory, added <transportConnector uri="http://localhost:8080"/> in the activemq.xml, added ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory("http://localhost:8080") in client source.
But the console shows: Caught: javax.jms.JMSException: Could not connect to broker URL: http://localhost:8080. Reason: java.net.ConnectException: Connection refused: connect at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33) ... ... So it doesn't work via http. Why? How to fix it? Any help will be greatly appreciated. -- View this message in context: http://www.nabble.com/The-problem-of-using-http-connector-tf4959860s2354.html#a14205559 Sent from the ActiveMQ - User mailing list archive at Nabble.com.