Message Queue Types¶
In general may select two types of the queues: task queues and broadcast queues.
Task Queue¶
Messages from the task queue are distributed among all subscribers but each message is received and handled by only one subscriber. This queue may be used to organize parallel processing of tasks or data.
In InfinniPlatform the ITaskProducer interface represents producer and the ITaskConsumer interface represents consumer for the task queues.
Broadcast Queue¶
Messages from the broadcast queue are received and handled by each subscriber. This queue may be used for mixed processing of the same message.
In InfinniPlatform the IBroadcastProducer interface represents producer and the IBroadcastConsumer interface represents consumer for the task queues.