Using the MSMQ Connector in a Transaction

The MSMQ connector server is not available with the Windows NT® 4.0 Option Pack.

When an MSMQ application sends messages in a transaction, MSMQ routes the message to the transactional connector queue.

When the message is sent, MSMQ keeps a private copy of the message in the source queue manager. This private copy is either discarded when the source queue manager receives a read receipt acknowledgment message, or moved to the computer's DEADXACT queue if a negative acknowledgment is received or a time-out occurs.

To know where to return the read receipt or negative acknowledgment, the connector application must retrieve the format name of the queue by looking at the message's PROPID_M_XACT_STATUS_QUEUE property. The read receipt must be returned even if the sending application did not request acknowledgments (PROPID_M_ACKNOWLEDGE is set to MQMSG_ACKNOWLEDGMENT_NONE).


© 1997 by Microsoft Corporation. All rights reserved.