[rabbitmq-discuss] [PROBLEM] .NET Client fails with OperationInterruptedException

Michael Barker mike at middlesoft.co.uk
Sun Jan 11 01:41:20 GMT 2009


I am currently working on an implementation of System.Messaging for
Mono using AMQP/RabbitMQ.  I have upgraded to the 1.5 version of the
.NET libraries, however when I run a simple test (against
rabbitmq-server version 1.4.0) I frequently get the following error:

Unhandled Exception:
RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP
operation was interrupted
  at RabbitMQ.Client.Impl.ConnectionBase.System.IDisposable.Dispose ()
  at testrabbitmq15.MainClass.Run (System.String[] args) [0x000cf] in
  at testrabbitmq15.MainClass.Main (System.String[] args) [0x0000b] in

I have attached 2 files to this email, the first is the code that I
use with 1.4 version of the libraries and the second is the same test
with the necessary changes for the 1.5 version of the libraries.  The
first version runs fine, the second version will fail after around 1
to 10 iterations.  I am currently running on Ubuntu linux (2.6.27-10)
with mono 1.9.1 and mono svn trunk.

Is this a bug?

Michael Barker.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main14.cs
Type: text/x-csharp
Size: 1362 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090111/1456ffc0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main15.cs
Type: text/x-csharp
Size: 1228 bytes
Desc: not available
Url : http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090111/1456ffc0/attachment-0001.bin 

More information about the rabbitmq-discuss mailing list