Try tcp://localhost:61616 which is the default connection string to connect to 
the broker...
Mark


-----Original Message-----
From: BillWitt [mailto:[email protected]]
Sent: Thursday, July 23, 2009 5:17 PM
To: [email protected]
Subject: C# Client Access


I am trying to access ActiveMQ from a C# client application. I am also using
the Apache.Nms library to help me out with that.

I've configured the broker by adding the following to the activemq.xml file:

<transportConnector name="http" uri="http://localhost:8080"; />

But I am unable to connect to the broker and receive a
NMSConnectionException with a message of "The transport http is not
supported.". Code is as follows:

Uri uri = new Uri("activemq:http://localhost:8080/";);
IConnectionFactory factory =
NMSConnectionFactory.CreateConnectionFactory(uri);
using (IConnection connection = factory.CreateConnection())

What am I doing wrong? Thanks.

--
View this message in context: 
http://www.nabble.com/C--Client-Access-tp24634739p24634739.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4271 (20090723) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4271 (20090723) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Reply via email to