activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunwentao <>
Subject The problem of using http connector
Date Fri, 07 Dec 2007 02:22:50 GMT

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: Connection
refused: connect
... ...

So it doesn't work via http. Why? How to fix it? Any help will be greatly

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

View raw message