When applications exchange data not directly but through messages, the same set of questions keeps coming up: how to route messages, transform formats, smooth out peak loads and avoid losing data during failures. From these solutions Gregor Hohpe and Bobby Woolf assembled a catalogue of patterns that became a common language for integration designers.
What’s in the catalogue
The patterns are grouped by the problems they solve. Their names have stuck: they appear in broker and framework documentation, in architecture documents and in discussions.
| Group | Problem | Example patterns |
|---|---|---|
| Messaging channels | how to connect a sender and a receiver | point-to-point channel, publish-subscribe channel |
| Message construction | what messages look like and how they are structured | message, command message, document message |
| Routing | where to send a message | content-based router, recipient list, splitter |
| Transformation | how to convert between formats | translator, normalizer, envelope wrapper |
| Endpoints | how an application connects to a channel | messaging gateway, competing consumers |
| System management | how to monitor and repair the exchange | wire tap, control bus, message history |
How a pattern works
Every pattern is described in the same way: the problem, a solution with a messaging diagram, and links to other patterns. Many of them stack into a pipeline — for example, a typical broker-based integration combines channel adapter, translator and message channel.
sender -> channel adapter -> message channel -> translator -> recipient list -> receiversWhere EIP appears
- Apache Camel — an integration library whose routes are assembled directly from the patterns:
split(),aggregate(),content-based router; each such pattern is listed as an EIP in the Camel documentation. - Spring Integration — an implementation of the same patterns in the Spring stack.
- According to the authors, the catalogue spurred the emergence of a generation of open source ESBs: Apache Camel, Mule, WSO2 and Fuse ServiceMix.
The book and the website
The catalogue was published as the book “Enterprise Integration Patterns” (Gregor Hohpe and Bobby Woolf, Addison-Wesley, 2003). The authors maintain an open version on the enterpriseintegrationpatterns.com website and keep extending it with examples for modern technologies — Kafka, RabbitMQ and cloud message buses. Individual patterns are also called EIPs — that is how the Apache Camel documentation lists them.
Sources
the term is written from these pagesVerified 8 Nov