Enterprise Integration Patterns
Messaging Patterns
Messaging Patterns
Point-to-Point ChannelPoint-to-Point ChannelMessaging Patterns » Messaging Channels

An application is using Messaging to make remote procedure calls (RPC’s) or transfer documents.

How can the caller be sure that exactly one receiver will receive the document or perform the call?

Send the message on a Point-to-Point Channel, which ensures that only one receiver will receive a particular message.

A Point-to-Point Channel ensures that only one receiver consumes any given message. If the channel has multiple receivers, only one of them can successfully consume a particular message. If multiple receivers try to consume a single message, the channel ensures that only one of them succeeds, so the receivers do not have to coordinate with each other. The channel can still have multiple receivers to consume multiple messages concurrently, but only a single receiver consumes any one message.

... Read the entire pattern in the book Enterprise Integration Patterns

Related patterns:

Command Message, Competing Consumers, Document Message, Message, Message Channel, Messaging, Publish-Subscribe Channel, Request-Reply

Creative Commons Attribution License

You can reuse the following elements under the Creative Commons Attribution license: pattern icon, pattern name, problem and solution statements (in bold), and the sketch. Other portions are protected by copyright.

Enterprise Integration Patterns book cover

Enterprise Integration Patterns
The classic, as relevant as ever. Over 90,000 copies sold.

Software Architect Elevator book cover

The Software Architect Elevator
Learn how architects can play a critical role in IT transformation by applying their technical, communication, and organizational skills.

Cloud Strategy book cover

Cloud Strategy
Fill the large gap between high-level goals and product details by understanding decision trade-offs.