Learn how the communication between the components of a pipeline works.
In a simple way, a pipeline is a sequence of interconnected components that communicate with each other by processing messages.
The messages processing between components is done in three steps:
- receiving the message from the previous component (message in);
- execution of some processing that may or may not use the information of the received message;
- sending the message to the next component (message out).
These messages are always in JSON format.
A pipeline is built using a REST trigger, which is requested and provides the received parameter (
"type": "revenue") to the next component - an Object Store called Delete all. One by one, each component finishes its execution and triggers the next, providing the resulting message of its processing.
If you choose to flow messages in JSON format only, manipulation and transformation are made easier, regardless if you use transformation components or Double Braces expressions. These expressions must refer to elements of the message in to produce messages out.