forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[service-bus] Change MessageSession over to using the .NET receiveMes…
…sages algorithm (Azure#10107) [sessions] Changing our receiveMessages() algorithm to match .NET's. The new version works like this: receive(maxMessages, maxWaitTime) Internally we then wait for: maxMessages to arrive maxWaitTime to expire or An internal 1 second timeout that will fire after the first message has been received or the remaining time left from maxWaitTime (whichever one is smaller) (also eliminated some dead code as a result of making SessionManager a sample rather than being part of the core library) Complements Azure#9968 and is the final change for Azure#9718
- Loading branch information
1 parent
17ef66a
commit 5d544e8
Showing
7 changed files
with
429 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.