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

Support for first-acquirer field #211

Open
Havret opened this issue Aug 2, 2020 · 0 comments · May be fixed by #221
Open

Support for first-acquirer field #211

Havret opened this issue Aug 2, 2020 · 0 comments · May be fixed by #221
Labels
enhancement New feature or request

Comments

@Havret
Copy link
Owner

Havret commented Aug 2, 2020

Feature description

Extend Message API with first-acquirer field. If the value is true, then this message has not been acquired by any other link (see section 3.3). If the value is false, then this message MAY have previously been acquired by another link or links.

Feature in action

var msg = await _consumer.ReceiveAsync(_cts.Token);
if (msg.FirstAcquirer)
{
    // this message has not been acquired by any other link
}
else
{
    // this message MAY have previously been acquired by another link or links
}

Additional context

OASIS Advanced Message Queuing Protocol(AMQP) Version 1.0 - section 3.2.1

@Havret Havret added the enhancement New feature or request label Aug 2, 2020
@Havret Havret added this to the 1.2.0 milestone Aug 2, 2020
@Havret Havret linked a pull request Aug 16, 2020 that will close this issue
@Havret Havret removed this from the 1.2.0 milestone Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant