Hi,

I have updated my .net c#project to use 2.0.0 version of
Apache.NMS.ActiveMQ and i noticed that when i'm starting the connection
just hangs when i use the code in a .net c# windows form application, but
it works just fine from a.net c# console application.

 var connString = $"tcp://HostName:61616";
IConnectionFactory factory = new NMSConnectionFactory(connString);
       using (IConnection connection = factory.CreateConnection())
       {
connection.Start();  //here it just hangs from a .net c# win forms app
}

This code works ok with 1.8.0 version of Apache.NMS.ActiveMQ no matter if
is a .net c# win form app or a .net c# console app

Other people are also having the same problem. Please see c# - Producer
messages using Apache.NMS Console app and Windows Forms - Stack Overflow
<https://stackoverflow.com/questions/74692814/producer-messages-using-apache-nms-console-app-and-windows-forms>

Do you have any inputs on this? Was 2.0.0 .net c# Apache.NMS.ActiveMQ lib
tested from a .net win for application?

Thank you,
Adriana

Reply via email to