Article ID: 173327
Article Last Modified on 3/9/2000
begin trans1
begin trans2
write trans1.msg1
write trans2.msg1
write trans1.msg2
write trans2.msg2
commit trans2
commit trans1
This results in the following ordering of messages when read from the
queue:
trans2.msg1, trans2.msg2, trans1.msg1, trans1.msg2However, this ordering may be different in some cases, as described below.
Machine A
begin transactiona
send a1 to q
send a2 to q
send a3 to q
commit transactiona
Machine B
begin transactionb
send b1 to q
send b2 to q
send b3 to q
commit transactionb
Microsoft Message Queue Server guarantees that all messages from A are
ordered and all messages from B are ordered in the queue. But messages
from A and B could be interleaved in the queue. For example, the queue
could look like this:
q: a1 b1 b2 a2 b3 a3Microsoft Message Queue Server guarantees the following:
Keywords: kbinfo kbfaq KB173327