A router receives an event. The event contains the
Event Type so that it knows which flow it receives an event from. It also gets the
Output Type so that it knows which microservice has been most recently invoked. Using the
Event Type and
Output Type the router can then work out which microservice(s) should be invoked.
MAPT acts as a router. It receives an event from a microservice and then triggers the next microservice(s). It does this at scale and in real time. The invoked microservice(s) process the data they receive and send their output back to MAPT for the process to start again until the event flow reaches its conclusion.