You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Dave Syer <da...@hotmail.com> on 2007/03/22 08:44:46 UTC

Does activemq-dotnet have a vm://localhost broker URL option?

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.


Re: Does activemq-dotnet have a vm://localhost broker URL option?

Posted by James Strachan <ja...@gmail.com>.
On 3/22/07, Dave Syer <da...@hotmail.com> 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/