Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[service-bus] Adding in PeekMessages, DeferMessage+ReceiveDeferredMessages support #15629

Merged

Conversation

richardpark-msft
Copy link
Member

@richardpark-msft richardpark-msft commented Sep 24, 2021

Adding in some of the critical receiver methods for deferring and retrieving deferred messages. Also, added in the track 2 compliant PeekMessages function.

There were also some bugs in how we were handling ReceiveMessages, which were found in some tests that I added.

This PR is built on top of a pending PR (#15611) so you'll want to start reviewing this code from commit 0f3d403 (my linkageddon commit) to see the relevant bits.

I've added in a temporary replace in the go.mod file so I can pick up this fix in go-amqp that hasn't yet released: Azure/go-amqp#72).

richardpark-msft added 2 commits September 28, 2021 17:01
- Added in ReceiveDeferredMessages()
- Fixing message settlement to be consistent in having a mgmt operation for each settlement method.
- Adding in PeekMessages and test
- Fixing bug in AMQPLinks where closing it non-permanently was...still closing it permanently.
- Adding in tlsConfig configuration to make it simpler to debug at a protocol level with wireshark
Copy link
Member

@seankane-msft seankane-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

It could still use a refactor, but at least it documents what it does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants