Message Endpoint

Pattern Catalog

Previous Previous   Next Next

Site HomePatterns HomeTable of Contents

Applications are communicating by sending Messages to each other via Message Channels.

How does an application connect to a messaging channel to send and receive messages?

Connect an application to a messaging channel using a Message Endpoint, a client of the messaging system that the application can then use to send or receive messages.

Message Endpoint code is custom to both the application and the messaging system’s client API. The rest of the application knows little about message formats, messaging channels, or any of the other details of communicating with other applications via messaging. It just knows that it has a request or piece of data to send to another application, or is expecting those from another application. It is the messaging endpoint code that takes that command or data, makes it into a message, and sends it on a particular messaging channel. It is the endpoint that receives a message, extracts the contents, and gives them to the application in a meaningful way.

...

Related patterns: Idempotent Receiver


Enterprise Integration Patterns

Find the full description of this pattern in:

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

HomePatternsTable of ContentsPrevious Previous   Next Next