[rabbitmq-discuss] Exceptions in c# client library

Hubert Plociniczak hubert at lshift.net
Fri Dec 12 17:19:38 GMT 2008

Hi Alister,

it is very probable that this is a bug related to something that was 
reported before,
for details.
You can try to build the client from the latest repository state which 
contains the fix for the above problem (see 
http://www.rabbitmq.com/build-dotnet-client.html) for instructions on 
how to build the c# client.
There is also a coming 1.5.0 release (we do our best to make it as soon 
as possible) which will also involve the RabbitMQ C# client.

Let me know if that helps,
Hubert Plociniczak

Alister Morton wrote:
> I've got a client retrieving messages quite happily as an Excel add in. I've attached event handlers to the CallBackException event handlers on both the IModel and IConnection objects, but I'm seeing uncaught exceptions in the rabbit client dll e.g.
> A first chance exception of type 'RabbitMQ.Client.Exceptions.AlreadyClosedException' occurred in RabbitMQ.Client.dll
> Obviously I'd like to catch these exceptions and take recovery action, but they're not being passed to me, I'm simply seeing them reported in the debugger. How can I trap these conditions and take recovery action?
> alister
> The information herein may have been obtained from various sources. Any opinion expressed may be that of the sender only, is subject to change without notice and should be independently evaluated. Nothing herein constitutes investment advice or an offer, or solicitation of an offer, to buy or sell any financial product. Any data consist of purely indicative prices and should not be relied upon to revalue any commercial positions held by any recipient. Tradition makes no warranty that the data represent or indicate prices at which transactions may be or have been made by any Tradition Group company. To the maximum extent of the law, Tradition accepts no responsibility for, and cannot and does not warrant the integrity, accuracy, quality, completeness, merchantability or suitability for a particular purpose or requirement of the information or data, even if arising out of the negligence of Tradition or otherwise. Tradition accepts no liability for any direct, indirect or other consequential loss arising out of any use of the information contained in this document or any omission from it. This communication is directed at Eligible Counterparties and Professional Clients as defined by the FSA. It is not for distribution to nor should it be relied upon by Private Clients. It is not intended for distribution to, or use by any person or entity in any jurisdiction or country where such distribution or use would be contrary to any applicable law or regulation. Please note that, for business or compliance reasons, we may monitor and read emails sent or received using our servers or equipment. Tradition (UK) Ltd (937647; FSA 139200), Tradition Financial Services Ltd (1046064; FSA 147543), TFS Derivatives Ltd (4051930; FSA 197244), Tradition London Clearing Ltd (3633863; FSA 190632) and TFS-ICAP Ltd (4025995; FSA 206018) registered in England at Beaufort House, 15 St Botolph Street, London EC3A 7QX; authorised and regulated by the Financial Services Authority. VAT No: GB 365 4639 27 except TFS-ICAP GB 766 0854 05.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

 [][][] Hubert Plociniczak
   [][] LShift Ltd
 []  [] www.lshift.net

More information about the rabbitmq-discuss mailing list