Message Flow

Image 2. Message flow in 1Gateway
Inbound plugins collect messages from an outside source (endpoint). Incoming messages are normalized and routed to the outbound plugins. Before an outbound plugin forwards a message to its endpoint, it can use a mapper to translate the normalized message into an endpoint-specific format. A "normalized message" is a message that has a format that is not endpoint-specific and contains a minimum standard set of keys. See the messages for more detail. Each outbound plugin has a message queue. When a queue is full, messages are discarded. Queues are drained or saved to disk during graceful shutdown.

Image 3. Example of message flow in 1Gateway