activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiang <>
Subject How to use http connector
Date Mon, 28 May 2007 08:06:05 GMT

I add this <transportConnector uri="http://localhost:8080"/> in the
activemq.xml and started Activemq server .  The console is show:
2007-05-28 14:00:07.796::INFO:  Started SocketConnector @ localhost:8080
INFO  TransportConnector             - Connector http://localhost:8080
INFO  NetworkConnector               - Network Connector default-nc Started
But when I use code below in the remote client:
ActiveMQConnectionFactory connectionFactory = new
Activemq throw 
 javax.jms.JMSException: Could not create Transport. Reason: Transport scheme NOT recognized: [http]  at

why ?  Could someone give me some example codes .???
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message