The text of this article is not in this database — only its details are. Read it on the old site: Introduction to MSMQ
14 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Introduction to MSMQ
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
ANKIT SHARMAPosted Jan 1, 2022, 12:18 PM
Some time application get stuck while sending message. any idea about this issue ?
Gyan PrakashPosted May 26, 2020, 4:05 PM
Message is not visible in queue message
Arjun DhilodPosted Oct 19, 2018, 12:57 AM
Good one but i have tested you are project i am not able to add MSG in MSMQ why ?is it code working fine
IpelengPosted Nov 8, 2015, 6:17 AM
Hi, just want to add something, this may help someone who comes here looking for a solution. This solution works very well, however, I'd like to add - move billingQ.ReceiveCompleted += billingQ_ReceiveCompleted and billingQ.BeginReceive() from the send2Queue method to the form constructor. I struggled with this when first testing the project. What happens is each time you click Send, you create a new event handler. So after the second time you click Send, you get 2 messageboxes showing, after 3 clicks, 3 messageboxes. Moving these to the constructor ensures only one handler is created, so you only get 1 messagebox showing for every 1 click of send. Thanks for the article, though, it helped me a lot.
philip montgomeryPosted Jun 27, 2013, 11:24 AM
I encounted an error using the MSMQ with private queues , If I try{}catch{} OnReceiveCompleted for reading (works perfect) but then delete the queue to simulate the server disconnecting , the exeption is unhandled and crashes the application. Found an old article here which seems to a similar if not the same issue: https://connect.microsoft.com/VisualStudio/feedback/details/684503/unhandled-exception-deletion-of-a-private-queue-during-an-asynchronous-event-wait-beginpeek-receive , Has anyone else encountered this? or know a workaround?.
Kamal RawatPosted Sep 24, 2012, 2:45 PM
Thanks Mahesh...Will definitely add in my next article...!
Mahesh ChandPosted Sep 24, 2012, 12:26 PM
Good start Kamal. It will be nice to also add points like what operating system you need to work with MSMQ and other configurations. Or point out on the page where readers can learn more about how to install and configure MSMQ on their machines. Cheers!
Kamal RawatPosted Sep 24, 2012, 9:43 AM
@sharad: Yes we can implemetn security as well, we se d encrypted messages...Will write article on that too for sure...
Kamal RawatPosted Sep 24, 2012, 9:38 AM
@Sachin: As i already mentioned when two processes need async or an inter communication.. its very handy.. I will also making second article illustrating the another advantage of MSMQ... Thanks for reading the article..
Sachin BhardwajPosted Sep 24, 2012, 7:08 AM
What is main advantage of msmq?
Sharad GuptaPosted Sep 24, 2012, 7:08 AM
Really nice article, can i use any security technique with MSMQ.
Prabhakar MauryaPosted Sep 24, 2012, 6:59 AM
Nice description about MSMQ. How to integrate MSMQ for web application.
Kamal RawatPosted Sep 24, 2012, 2:29 AM
Hi deepak, u can implement the same logic for web applications too. First you need to add System.Messaging namespace.. if u find any difficulty while implementing...plz let me know..
Deepak MiddhaPosted Sep 24, 2012, 12:24 AM
Hi Kamal Rawat nice description. How to integrate msmq with ASP.Net?