Point-to-Point Channel

Pattern Catalog

Previous Previous   Next Next

Site Home • Patterns Home • Table of Contents

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.

...

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


Discuss this pattern on the Wiki. The Wiki allows you to add comments / suggestions for each pattern and even to add new pages. Simply follow this link and click "Edit" at the bottom of the window.   [How to use a Wiki.]  [EAI Patterns Wiki Home Page]

For a full description of the pattern see:

Enterprise Integration PatternsEnterprise Integration Patterns
Gregor Hohpe and Bobby Woolf
ISBN 0321200683
650 pages
Addison-Wesley


Home • Patterns • Table of ContentsPrevious Previous   Next Next