We are debating to correct way to setup a notification service. This serivce will be called by various apps and the service will need to return relevant data back.
My feeling is you just create a Web service that the intranet portal (or anything) could access by sending the user ID and in return getting any information (User 425 report is 90 days due, Application has been rejects.. etc..) We have multiple intranet apps as well as the portal (Lets call them App A, B, and C).
Another person here said we need to use MSMQ.. so I did some research and as far as I can tell the point of MSMQ is for when you have a user the performs some sort of request that is long and cannot be run synchronously .. If these calls take 0.02 seconds.. What is a advantage of MSMQ? All I am doing is sending back a message...
So which makes more sense?
Bonus: App A, B, and C all have thier own Business Logic for determining what messages to send back to the main portal app... So I can.
Have the notification web service contain all the logic for Apps A B and C? Problem there is now I am invovled in understanding how app A B and C work so I can have the WS post back the appropriate message..
Use MEF/IoC and as part of the build process I get a MEF .DLL that implements a certain interface. So My notification program jsut goes to the various apps and says GIVE ME YOUR BIZ LOGIC DLL.... so once I have all the DLLs and know the interface I can just loop through thme and get the data I need... That way its up to the devs of A, B, and C that are expoerts of thier domain to implement this message passing interface.
Help. (I barely understand MEF so I could be way off there)