On Wed, 2010-09-08 at 11:32 -0700, 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 > >
NMS.ActiveMQ doesn't support an HTTP transport so that's why you are getting this error. Right now the AMQ NMS client library only supports tcp and ssl based transports plus a discovery transport for finding remote brokers. Regards -- Tim Bish Open Source Integration: http://fusesource.com ActiveMQ in Action: http://www.manning.com/snyder/ Follow me on Twitter: http://twitter.com/tabish121 My Blog: http://timbish.blogspot.com/