Queue processing
Event-driven work reaches Outbridge as messages rather than as scheduled runs. Entity events and business events place a message on the OSTDB Event Queue, and queue processor tasks drain it in parallel.
The queue is built on the standard Finance and Operations message processor framework, so it is scheduled, monitored, and recovered like any other message queue in the environment.
Parameters #
Go to Modules > Outbridge > Setup > Outbridge parameters, and open the Queue parameters section on the General tab.
- Queue processors—the number of parallel message processor tasks. Values below 1 use the default of 2.
- Messages per queue task—the maximum number of messages one task processes in a single pass. Values below 1 use the default of 10.
Choosing values #
The two settings trade latency against load:
- More processors shorten the time a message waits when events arrive in bursts, at the cost of more concurrent work against the AOS and the target systems.
- More messages per task reduce per-task overhead for high volumes of small messages, but a task holds its batch until the pass completes, so very large values make individual messages wait longer.
Start with the defaults. Increase Queue processors when the queue depth grows during normal operation rather than only during known bursts, and confirm the target system can absorb the added concurrency before doing so.
What uses the queue #
- Entity event groups—insert, update, and delete triggers on data entities. See Entity event groups.
- Business events—Finance and Operations business events routed to a data port. See Trigger a data port from a business event.
Runs started from the queue appear in run history with the Event trigger, alongside runs triggered manually, by schedule, by webhook, or through the API.