Try changing the uri to "http://0.0.0.0:8080?trace=true";. If you use localhost I think it only listens on the loopback address 127.0.0.1.

--Nick.

On 08/09/10 19:32, ext ChicagoBob123 wrote:

Anyone use ActiveMQ with http before?

I got work to buy the book ActiveMQ in Action.
Its not too bad but its not answering my question directly. Its obvious you
can use http transport but its not clear on how from the client perspective.

I think you need to alter activemq.xml in the<transportConnectors>  section
by adding
<transportConnector
name="http"
uri="http://localhost:8080?trace=true"; />



On the client side using, NMS in my case, you
  Apache.NMS.ActiveMQ.ConnectionFactory connect = new
Apache.NMS.ActiveMQ.ConnectionFactory("activemq:htp:://172.16.0.51:61616");
this just throws an error. Cant parse URI. ??

Ideas


Reply via email to