Skip to content

Conversation

@lukebakken
Copy link
Collaborator

@lukebakken lukebakken commented Jun 27, 2024

  • Name new property DispatchConsumersAsyncEnabled.
  • Add a check on BasicConsume for when a regular dispatcher is used, and an async consumer passed.
  • Test the new DispatchConsumersAsyncEnabled property.

Follow-up to #1611
Fixes #1610

* Name new property `DispatchConsumersAsyncEnabled`.
* Add a check on `BasicConsume` for when a regular dispatcher is used, and an async consumer passed.
* Test the new `DispatchConsumersAsyncEnabled` property.
@lukebakken
Copy link
Collaborator Author

@luizcarlosfaria this API change will be available in version 7. Thanks!

@niemyjski
Copy link

This change is kind of confusing looking at the 7.0 breaking changes.

_factory = new ConnectionFactory
        {
            Uri = new Uri(options.ConnectionString),
            AutomaticRecoveryEnabled = true,
            DispatchConsumersAsync = true
        };
        ```
        
        DispatchConsumersAsync where did this get moved to now?

@lukebakken
Copy link
Collaborator Author

@niemyjski would you mind starting a new discussion, or asking in this one, so other people can more easily find my response?

#1720

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.

Expose ConnectionFactory.DispatchConsumersAsync as a ReadOnly property on IConnection

4 participants