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...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Transactional receive asynchronously   Message List  
Reply | Forward Message #4332 of 4356 |
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

Forward
Message #4332 of 4356 |
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 © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help