Qpid
  1. Qpid
  2. QPID-4426

C++ Messaging Client .NET Binding callback server example fails to relay exceptions to main loop

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.19
    • Component/s: Dot Net Client
    • Labels:
      None

      Description

      The Messaging Client .NET Binding provides an example callback server called sessionreceiver. It creates a thread and calls a session's NextReceiver function. If NextReceiver encounters any kind of exception then that exception goes unhandled.

      The proposed fix is to add a SessionException() callback to the interface. Then the NextReceiver is placed in a try-catch block and caught exceptions are sent through the new callback.

        Activity

        Chuck Rolke created issue -
        Hide
        Chuck Rolke added a comment -

        Fixed in r1406713

        Show
        Chuck Rolke added a comment - Fixed in r1406713
        Chuck Rolke made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        51m 6s 1 Chuck Rolke 07/Nov/12 17:25
        Resolved Resolved Closed Closed
        264d 1h 27m 1 Justin Ross 29/Jul/13 18:53

          People

          • Assignee:
            Chuck Rolke
            Reporter:
            Chuck Rolke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development