Data flows
Data flows establish how data moves through the MATP. A primary data flow establishes how orders move through the MATP from the Trade Client to DARE, for example. All necessary data flows are established by default in configuration. The data flows can be adjusted to accommodate risk management checks, drop copies, or other behavior.
Data flow components typically rely on the Eventbus
functional area to connect themselves. A data flow component registers itself and listens for incoming events of a particular type. After performing its particular function, it re-emits the event or emits a modification of the event.
For example, the default flow of outgoing orders, which is defined in the DareApplication
configuration class, is as follows:
The data flow allows orders to be sent out as quickly as possible while other activities take place in parallel. Risk management, if desired, could be inserted into this data flow at any point simply by changing the configured endpoints at one point in the data flow and choosing to either emit or not emit the appropriate type of message.