谢谢。。楼上又没有能帮帮忙阿。。我用java调用是正常的。
I checked out the ActiveMQ-dotnet trunk from: https://svn.apache.org/repos/asf/incubator/activemq/activemq-dotnet/trunk
出错的代码在
IConnectionFactory factory = new ConnectionFactory(new Uri("tcp://serendipity:61616"));
using (IConnection connection = factory.CreateConnection())
{
connection.ExceptionListener += new ExceptionListener(connection_ExceptionListener);
ISession session = connection.CreateSession(); --就是这句被挂起了
} Exception Message: Object reference not set to an instance of an object.
Exception Stack: at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransp
ort sender, Command command) in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Tran
sport\WireFormatNegotiator.cs:line 75
I checked out the ActiveMQ-dotnet trunk from: https://svn.apache.org/repos/asf/incubator/activemq/activemq-dotnet/trunk
出错的代码在
IConnectionFactory factory = new ConnectionFactory(new Uri("tcp://serendipity:61616"));
using (IConnection connection = factory.CreateConnection())
{
connection.ExceptionListener += new ExceptionListener(connection_ExceptionListener);
ISession session = connection.CreateSession(); --就是这句被挂起了
} Exception Message: Object reference not set to an instance of an object.
Exception Stack: at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransp
ort sender, Command command) in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Tran
sport\WireFormatNegotiator.cs:line 75
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货