I have a question about Producer/consumer Design pattern , in fact my situation is :I have One class that produce multiple types of messages (notifications) and multiple consumers who consume those messages.
The complication is my Producer produce different types of messages and my consumers consume those messages .
So what is the best implementation of this situation? Is the Producer/Consumer design-pattern the best solution of this situation?