Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2549

[dotnet] Add a next receiver API to the connection and session

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • proton-dotnet-1.0.0-M1
    • proton-dotnet-1.0.0-M1
    • proton-dotnet
    • None

    Description

      Add a new API to Connection and Session that allows a caller to poll for the next receiver in a session that has a pending delivery or wait on one to arrive.

      Basic code example:

      using (IConnection connection = client.Connect(serverHost, serverPort, options)) {    
          _ = connection.OpenReceiver(address1);
          _ = connection.OpenReceiver(address2);                    
      
          IDelivery delivery = connection.NextReceiver().Receive();
      
          ...
      }

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: