An unrecoverable exception is raised on a background thread when using the CallbackServer in .NET qpid client

Solution Verified - Updated -

Issue

Following the setup below in .NET qpid client:

  • ensure the qpid broker is running
  • create connection
  • create receiver
  • get the session from the receiver
  • create a CallbackServer with the session from the receiver and a callback
  • set the receiver Capacity to 1 if it was 0
  • stop the broker,

an uncaught exception is raised by a thread run by qpid library. As our application didn't kick off the thread, there is no hook to tie into to trap this event and recover successfully. The best we can currently do is log the event and stop the application execution.

Environment

  • MRG Messaging broker (on Red Hat Enterprise Linux)
  • .NET qpid client (on Windows)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content