Skip to content

Add PassiveNack option and GetConsumerWith overload#27

Merged
et1975 merged 1 commit intoAzure:masterfrom
et1975:master
Apr 22, 2026
Merged

Add PassiveNack option and GetConsumerWith overload#27
et1975 merged 1 commit intoAzure:masterfrom
et1975:master

Conversation

@et1975
Copy link
Copy Markdown
Member

@et1975 et1975 commented Apr 22, 2026

  • Add PassiveNack bool to ChannelOptions: when true, Consumer.Nack only stops local tracking (removes from msgCtxs, stops activity, cancels renewal CTS) without calling AbandonMessageAsync, letting the broker lock expire naturally instead of immediately redelivering.
  • Wire IgnoreDuplicates and PassiveNack from ChannelOptions into the internal Consumer.Options receiver options.
  • Add Channels.GetConsumerWith overload taking ChannelOptions as the first parameter, enabling per-consumer option overrides.
  • Move ChannelOptions to Api.fs so it sits next to the Channels type.
  • Add integration test 'PassiveNack does not dead-letter immediately' verifying the message does not land on DLQ and is redelivered on the main consumer after the lock expires.
  • RELEASE_NOTES: 3.1.0 entry.

- Add PassiveNack bool to ChannelOptions: when true, Consumer.Nack only
  stops local tracking (removes from msgCtxs, stops activity, cancels
  renewal CTS) without calling AbandonMessageAsync, letting the broker
  lock expire naturally instead of immediately redelivering.
- Wire IgnoreDuplicates and PassiveNack from ChannelOptions into the
  internal Consumer.Options receiver options.
- Add Channels.GetConsumerWith overload taking ChannelOptions as the
  first parameter, enabling per-consumer option overrides.
- Move ChannelOptions to Api.fs so it sits next to the Channels type.
- Add integration test 'PassiveNack does not dead-letter immediately'
  verifying the message does not land on DLQ and is redelivered on the
  main consumer after the lock expires.
- RELEASE_NOTES: 3.1.0 entry.
@et1975 et1975 merged commit 1707513 into Azure:master Apr 22, 2026
3 checks passed
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.

2 participants