Introduction to FIFO Message Processing
Sterling B2B Integrator supports ordered processing of files and messages for the JMS Queue adapter, JMS Topic adapter, and MSMQ adapter.
The ordered processing in Sterling B2B Integrator is processed by the FIFO (first in first out) framework.
The following figure demonstrates the FIFO framework:

Sterling B2B Integrator supports FIFO processing of messages through adapters. The messages passed to the FIFO framework are first executed through a specialized routing key initialization business process that returns a single string value known as the routing key. The routing logic is then applied, which places all the messages with equal keys on the same internal routing queue. Messages with different routing key values process in parallel. Messages with the same routing key value maintain FIFO ordering. Each queue to user specified business process processes the message and waits for the business process to end the metadata describing the errant process, then processes the next message. If an error is encountered while processing the messages, metadata describing the errant process are routed to an error queue. Thereafter, the message processing continues.