On 3/22/07, Dave Syer <[EMAIL PROTECTED]> wrote:

Setting brokerURL=vm://localhost is great for testing on the Java side.  Is
there an equivalent in .NET?

I'm afraid not. This would imply porting the broker to C# too which
we've not done. (I guess we could run the broker using IKVM maybe :)

James

 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.




--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to