Name

Content Aggregator Pattern

Goal

To allow a single handler to easily process messages from a variety of sources that have similar content but different formats.

Participants

Multiple senders

Send messages to the content aggregator.

Content aggregator

Reads each message and creates a new message in a common format.

Message handler

Processes the messages.

Interactions

Senders send messages to the content aggregator. The aggregator reads each message and creates a new message in a common format. The new message is sent on to a single handler.

Get J2EE Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.