当前位置:编程学习 > C#/ASP.NET >>

救命啊!C#通过NMS调用activemq问题!!!

用NMS调用activemq4.1程序到了
ISession session = connection.CreateSession();
就挂起了。。。。晕死。。又没有高手知道阿。。。。跪求中
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 
--------------------编程问答-------------------- 帮顶,看不懂啊 --------------------编程问答-------------------- NMS?

---------------
没用过...up --------------------编程问答-------------------- 路过帮顶..

貌似第二贴...
补充:.NET技术 ,  C#
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,