You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change consumer options to uniform all the AMQP 1.0 clients interfaces (#144)
This pull request refactors the consumer builder API to use a unified enum-based approach for configuring consumer features, replacing the previous boolean-based methods. The change consolidates DirectReplyTo(bool) and PreSettled(bool) methods into a single Feature(ConsumerFeature) method that accepts an enum value.
Changes:
* Introduced ConsumerSettleStrategy enum with three values: ExplicitSettle, DirectReplyTo, and PreSettled
* Replaced IConsumerBuilder.DirectReplyTo(bool) and IConsumerBuilder.PreSettled(bool) with IConsumerBuilder.SettleStrategy(ConsumerSettleStrategy)
* Updated all consumer creation code across tests, examples, and internal implementations to use the new API
Reviewed changes
---------
Signed-off-by: Gabriele Santomaggio <G.santomaggio@gmail.com>
0 commit comments