You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/25 15:29:00 UTC
[jira] [Commented] (PROTON-2549) [dotnet] Add a next receiver API to the connection and session
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org