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
At the moment the Notificationsystem is a console application, which listens to the message broker and sends an email based on payloads. In this console application there is also code present for connecting/subscribing/listening to the message broker.
This code can AND is already reused in different places (jobscheduler and recommendationsystem), these applications now import all the code from the Notificationsystem console application, however they only use the parts to connect to the message broker.
Expected behavior
Applications that want to utilize the message broker service should only need to import the bare minimum code necessary for this to happen. Therefor this code should be separated into its own class library. The notification system (email based) should get a new dependency on this class library.
Other application should change their dependency to the new class library.
The text was updated successfully, but these errors were encountered:
Describe the bug
At the moment the Notificationsystem is a console application, which listens to the message broker and sends an email based on payloads. In this console application there is also code present for connecting/subscribing/listening to the message broker.
This code can AND is already reused in different places (jobscheduler and recommendationsystem), these applications now import all the code from the Notificationsystem console application, however they only use the parts to connect to the message broker.
Expected behavior
Applications that want to utilize the message broker service should only need to import the bare minimum code necessary for this to happen. Therefor this code should be separated into its own class library. The notification system (email based) should get a new dependency on this class library.
Other application should change their dependency to the new class library.
The text was updated successfully, but these errors were encountered: