From the course: Microservices: Design Patterns
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Process aggregator pattern
From the course: Microservices: Design Patterns
Process aggregator pattern
- The next integration pattern that we will discuss is an orchestration pattern called the process aggregator pattern. The process aggregator is a very straightforward way within your system to develop complex processes. When we have multiple data domains that need to be called together within a business process, we use a business process service. There may be cases, hopefully and frequently, where you need to do the same for business processes themselves. This is where this pattern comes into play. So the problem that we need to solve is we have built out business processes within our system, but we can see a frequent need to call two or more of them at the same time, in certain use cases, and then build a composite response from it. This is where this pattern shines. The aggregator provides clients with a single API call. This API contract not only handles the underlying business process calls but assembles the payload for the client system. The process aggregator can, and really…