Enterprise Integration Patterns Using Mule
Standard Support for Mule 4.1 ended on November 2, 2020, and this version of Mule reached its End of Life on November 2, 2022, when Extended Support ended. Deployments of new applications to CloudHub that use this version of Mule are no longer allowed. Only in-place updates to applications are permitted. MuleSoft recommends that you upgrade to the latest version of Mule 4 that is in Standard Support so that your applications run with the latest fixes and security enhancements. |
Enterprise Integration Patterns are accepted solutions to recurring problems within a given context. The patterns provide you with a framework for designing and building messaging and integration systems, as well as a common language for teams to use when architecting solutions.
Mule runtime engine supports most of the patterns shown in the Enterprise Integration Patterns book written by Gregor Hohpe and Bobby Woolf.
Mule reduces the effort required when building integrations by implementing the patterns that you use to design solutions. You can then simply configure and use these same patterns in Mule.
Mapping Enterprise Integration Patterns into Mule Objects
Review the following list of Enterprise Integration Patterns that can be mapped directly to Mule objects:
Integration Styles
Pattern | Mapping to a Mule Object |
---|---|
File Transfer |
|
Shared Database |
|
Remote Procedure Invocation |
Mule APIs are meant to work like this (or even doing requests to external APIs). |
Messaging |
Mule is all about Messaging. |
Messaging Systems
Pattern | Mapping to a Mule Object |
---|---|
Message Channel |
Mule provides a message channel that connects the message processors in a flow. |
Pipes and Filters |
A flow implements a pipe and filter architecture. |
Message Router |
|
Message Translator |
|
Message Endpoint |
Messaging Channels
Pattern | Mapping to a Mule Object |
---|---|
Point-to-Point Channel |
The default channel within a flow. |
Message Bus |
Mule is a message bus. |
Guaranteed Delivery |
Using Reliability Patterns. |
Message Construction
Pattern | Mapping to a Mule Object |
---|---|
Event Message |
Mule transmits events from different applications or processors. |
Request Reply |
Mule uses connectors that facilitate request-reply wise operations, or using Reliability Patterns. |
Message Routing
Pattern | Mapping to a Mule Object |
---|---|
Content-Based Router |
|
Message Filter |
|
Dynamic Routing |
|
Scatter Gather |
|
Splitter |
Foreach Scope and Batch. |
Aggregator |