[ 
https://issues.apache.org/jira/browse/PROTON-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy A. Bish resolved PROTON-2547.
-------------------------------------
    Resolution: Fixed

> [protonj2] Add a nextReceiver API for multiple receiver polling
> ---------------------------------------------------------------
>
>                 Key: PROTON-2547
>                 URL: https://issues.apache.org/jira/browse/PROTON-2547
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M5
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: protonj2-1.0.0-M6
>
>
> 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}
> try (Connection connection = client.connect(serverHost, serverPort, options)) 
> {    
>     connection.openReceiver(address1);
>     connection.openReceiver(address2);                    
>     final Delivery delivery1 = 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]

Reply via email to