共用方式為


Using Connector Services in a Transaction

 

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

When a Message Queuing application sends messages to a foreign queue in a transaction, Message Queuing routes the message to the transactional connector queue.

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).