Search the web
Sign In
New User? Sign Up
msmq · Microsoft MSMQ Discussion List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
Transactional receive asynchronously   Topic List   < Prev Topic  |  Next Topic >
Reply  |  Next Message > 
RE: [msmq] Transactional receive asynchronously

No – you cannot receive transactional messages asynchronously.

 

From the MSDN documentation of MQReceiveMessage (error codes):

MQ_ERROR_TRANSACTION_USAGE (0xC00E0050)

One of the following actions was attempted within the context of a transaction.

·         An attempt was made to open a remote queue for read access.

·         An attempt was made to read a message from a nontransactional queue.

·         An attempt was made to read a message using a callback function or an OVERLAPPED structure.

(The third reason is equivalent to async receive).

 

HTH,

Yoel

www.msmq.biz

 

 


From: msmq@yahoogroups.com [mailto:msmq@yahoogroups.com] On Behalf Of w9621997
Sent: Thursday, March 02, 2006 12:09 PM
To: msmq@yahoogroups.com
Subject: [msmq] Transactional receive asynchronously

 

Hi!
Does anybody know if it is possible to asynchronously receive messages
from a queue using a transaction.








Thu Mar 2, 2006 4:25 pm

yoel_arnon
Offline Offline
Send Email Send Email

 |  Next Message > 
Expand Messages Author Sort by Date

Hi! Does anybody know if it is possible to asynchronously receive messages from a queue using a transaction....
w9621997
Offline Send Email
Mar 2, 2006
2:05 pm

No - you cannot receive transactional messages asynchronously. From the MSDN documentation of MQReceiveMessage (error codes): MQ_ERROR_TRANSACTION_USAGE...
Yoel Arnon
yoel_arnon
Offline Send Email
Mar 2, 2006
4:26 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help