Serialized and Nonserialized Triggers

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

Message Queuing triggers can be serialized or nonserialized. The type of triggers used affects how the Message Queuing Triggers service tests the incoming messages in the queue.

Serialized triggers process messages in the order that the messages arrive, testing for each trigger associated with the queue before moving on to the next message. When serialized triggers are defined, the throughput of the Message Queuing Triggers service is lower than for nonserialized triggers because messages must be processed one at a time.

Nonserialized triggers process messages faster, but the messages are not necessarily processed in the order that they arrived. Nonserialized triggers provide a faster throughput because one message may be tested for one trigger while a second message is tested for another trigger.

If you specify multiple triggers for a queue, you must define all the triggers as serialized or nonserialized. It is recommended that you use only one trigger with the serialized option since the order of trigger firing is random according to their GUIDs.

More Information

For information on See
The components of Message Queuing triggers Trigger Components
How the Message Queuing Triggers service reads messages Reading Incoming Messages