[
https://issues.apache.org/jira/browse/PROTON-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542093#comment-17542093
]
ASF subversion and git services commented on PROTON-2549:
---------------------------------------------------------
Commit 76558f01cde404ef4bc1b116375db1f9b68bb070 in qpid-proton-dotnet's branch
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-dotnet.git;h=76558f0 ]
PROTON-2549 Add a next receiver API to connection and session
Adds API to fetch the next receiver with a pending delivery or wait
on any receiver to be provided with a delivery from the remote.
> [dotnet] Add a next receiver API to the connection and session
> ---------------------------------------------------------------
>
> Key: PROTON-2549
> URL: https://issues.apache.org/jira/browse/PROTON-2549
> Project: Qpid Proton
> Issue Type: New Feature
> Components: proton-dotnet
> Affects Versions: proton-dotnet-1.0.0-M1
> Reporter: Timothy A. Bish
> Assignee: Timothy A. Bish
> Priority: Major
> Fix For: proton-dotnet-1.0.0-M1
>
>
> 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:
> {code:java}
> using (IConnection connection = client.Connect(serverHost, serverPort,
> options)) {
> _ = connection.OpenReceiver(address1);
> _ = connection.OpenReceiver(address2);
> IDelivery delivery = connection.NextReceiver().Receive();
> ...
> }{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]