[rabbitmq-discuss] BasicReturn event question

Michael Klishin mklishin at gopivotal.com
Mon Oct 21 21:30:57 BST 2013


On 22 Oct 2013, at 00:25, ku3ia <demesg at gmail.com> wrote:

> So, seems I must handle the situation with BasicReturn event via async
> try-catch, like here?
> http://msdn.microsoft.com/en-us/library/0yd65esw.aspx
> 
> or something else? Thanks.

No, using regular event handlers:
http://msdn.microsoft.com/en-us/library/orm-9780596521066-01-17.aspx

Returned messages are *not* considered to be exceptions in the protocol,
so client libraries do not use exceptions for them.

MK


More information about the rabbitmq-discuss mailing list