Message Dispatcher
Last updated
Last updated
A Message Dispatcher is a pattern that represents a single channel that consumes external messages and distributes them to pipelines or other performers.
The benefit of using this pattern is that you don't need to duplicate logic and all messages of a certain type will always go through the same channel before reaching the performers.
In the example below, an external message coming to this pipeline from outside of Ylem is being used for calling an API, performing a database query, and sending a notification message. One pipeline, one message, three tasks.