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
Describe the bug
Class library MessageBrokerPublisher retrieves connection parameters itself, while it should be passed in by the services that imports this library.
To Reproduce
Steps to reproduce the behavior:
Go to MessageBrokerPublisher project
Open folder Services
Open RabbitMQConnectionFactory.cs
Look at lines 27/28/29 and lines 38/39/40
Expected behavior
The RabbitMQConnectionFactory should accepts these values in the constructor, instead of trying to retrieve them from the environment. And it should not check if these values are set in the environment, delegating this to the service utilizing this library (preferably the service uses an appsettings.json file, overriding the values if environment variables are set.
The text was updated successfully, but these errors were encountered:
Describe the bug
Class library MessageBrokerPublisher retrieves connection parameters itself, while it should be passed in by the services that imports this library.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The RabbitMQConnectionFactory should accepts these values in the constructor, instead of trying to retrieve them from the environment. And it should not check if these values are set in the environment, delegating this to the service utilizing this library (preferably the service uses an appsettings.json file, overriding the values if environment variables are set.
The text was updated successfully, but these errors were encountered: