When user ignore DispatchConsumersAsync boolean property of ConnectionFactory, consumer never will be called.
--
Users do not configure ConnectionFactory properly, ignoring DispatchConsumersAsync property (by default is false).
The way to make consistence guarantee is requesting the user ConnectionFactory to do my validations but by design handle the ConnectionFactory is not Oragon.RabbitMQ business.
ConnectionFactory and Connection is handled by user code, the Oragon.RabbitMQ job is to use a valid connection to create a consumer.
The effect is that consumer never be called.
This approach enables user code to handle connection lifecycle and granularity.
Is user responsible to choose between:
A shared connection for all consumers (per process)
A exclusive connection per consumer (per process)
A mix of shared and exclusive connections choosing by user (per process)
When user ignore DispatchConsumersAsync boolean property of ConnectionFactory, consumer never will be called.
-- Users do not configure
ConnectionFactory
properly, ignoringDispatchConsumersAsync
property (by default is false).The way to make consistence guarantee is requesting the user
ConnectionFactory
to do my validations but by design handle theConnectionFactory
is not Oragon.RabbitMQ business.ConnectionFactory
andConnection
is handled by user code, the Oragon.RabbitMQ job is to use a validconnection
to create a consumer.The effect is that consumer never be called.
This approach enables user code to handle connection lifecycle and granularity.
Is user responsible to choose between:
A pull request was created on rabbitmq/rabbitmq-dotnet-client, but this PR was closed.