Suggested Pages

Tuesday, April 14, 2015

Recipient List - Integration Pattern (Router)

In a past post i spoke about an important integration pattern: Dynamic Router. This post instead deals with a different integration pattern called Recipient List

The Recipient List answers to the problem: how can i dispatch messages to a list of recipients instead of sending to all recipients?

This pattern tells that you have to consider two distinct process moments:

  • Inspecting messages to know the list of recipients
  • Iterates over the known list of recipients to send the messages

This implies that each participant is attached to the Recipient List component with a different Recipient Channel and that the Recipient List component has the knowledge of all recipients.

A variant of this component is the Dynamic Recipient List that use the same mechanism of Dynamic router to be notified when a new participants is interested on receiving messages.

No comments :

Post a Comment

Suggested Pages