Setting brokerURL=vm://localhost is great for testing on the Java side.  Is
there an equivalent in .NET?  It seems that vm: is not recognised by AMQ and
it tries to create a socket connection with that protocol and fails:

   TestApplication.MessageTests.SendAndReceive :
System.ArgumentOutOfRangeException : Specified argument was out of the range
of valid values. Parameter name: port
   at System.Net.IPEndPoint..ctor(IPAddress address, Int32 port)
   at ActiveMQ.Transport.Tcp.TcpTransportFactory.Connect(String host, Int32
port)
   at ActiveMQ.Transport.Tcp.TcpTransportFactory.CreateTransport(Uri
location)
   at ActiveMQ.ConnectionFactory.CreateConnection(String userName, String
password)
   at ActiveMQ.ConnectionFactory.CreateConnection()
   at Spring.Messaging.Nms.NmsTemplate.CreateConnection() in 
-- 
View this message in context: 
http://www.nabble.com/Does-activemq-dotnet-have-a-vm%3A--localhost-broker-URL-option--tf3445966s2354.html#a9609769
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to