Design pattern for messaging service

Viewed 21

Helllo,

I'm looking for a design pattern to implement in Java to meet requirements:

  • Having a list of Contacts (let's say Contact is an object with some fields)
  • Single contact record should have information thorugh which channel and which provider message should be send
  • Depends on situation there could be need to send messages to list of above contacts
  • There may be possibile different channels (email/sms/slack etc.) and different msg providers (integratio with 3rd party systems: Twilio/Slack/Messenger etc)

Could you please suggest what design pattern here would be most appropriate?

0 Answers
Related