My technical journal.

Maybe useful, maybe not.
posts - 105 , comments - 45 , trackbacks - 0

MSMQ Messages stuck in the outgoing queue?

If you are sending transactional messages and they seem to get stuck in the outgoing queue then it may be that acknowledgements are being discarded, especially if you can resolve the problem by purging outgoing and destination queues and restarting the corresponding MSMQ services.

There are a few scenarios where acknowledgements may appear to get lost.
For example:

328999 Message Queuing in workstation mode does not receive acknowledgements

There are a couple of fixes you may want to check you have:

908926 FIX: You may experience a decrease in the performance of Message Queuing 3.0 when you send messages between two computers that are running Message Queuing 3.0

902951 FIX: A Message Queuing 3.0 message may not be acknowledged


Basically deploy SP2 if you have Windows 2003.

Print | posted on Monday, September 13, 2010 3:57 PM |

Feedback

Gravatar

# re: MSMQ Messages stuck in the outgoing queue?

Few MSMQ transactional messages Stucked in the private queue not clear why this is happening could you please suggest on this.

Thanks
Ramesh Chand
10/22/2015 10:56 AM | Ramesh chand
Gravatar

# re: MSMQ Messages stuck in the outgoing queue?

• Operating system?
• Are these messages stuck in the outgoing queue or the destination queue?
• Are the majority of messages correctly handled?
10/22/2015 11:11 AM | John Breakwell
Gravatar

# re: MSMQ Messages stuck in the outgoing queue?

Q: Operating system?
Ans: Windows Server 2008 R2.

Q: Are these messages stuck in the outgoing queue or the destination queue?
Ans: Message stuck in the outgoing queue.

Q: Are the majority of messages correctly handled?
Ans: Sorry Not Clear Please repeat the question with more details.

Thanks
Ramesh Chand.
10/22/2015 11:31 AM | Ramesh chand
Gravatar

# re: MSMQ Messages stuck in the outgoing queue?

You said "Few MSMQ transactional messages stuck". Do you mean you are sending a few messages and they are all stuck. Or do you mean you send many messages but only a few are stuck?

What is the status of the outgoing queue? Connected?
10/22/2015 11:41 AM | John Breakwell
Gravatar

# re: MSMQ Messages stuck in the outgoing queue?

We are facing problem in MSMQ messages. We have created application using ASP.net 2.0 where we are sending email messages to MSMQ whenever email failure occur (mail server failure or any other reasons). We have created scheduler that will run after a particular time (30 minutes for now) and read MSMQ and resend the MSMQ email again using peek method. This was working fine for few days but now it is stopped sending email message. Below is our code snippet for receiving MSMQ data:
// Peek and format the message.
Message myMessage = msgQueue.Peek(new TimeSpan(0, 0, 3));
MailMessage mailMessage = (myMessage.Body as SerializeableMailMessage).GetMailMessage();
if (SendMail(mailMessage))
{
msgQueue.Receive();
}

Seems like some object reference error is start getting on "MailMessage mailMessage = (myMessage.Body as SerializeableMailMessage).GetMailMessage()" this line

Q: What is the status of the outgoing queue? Connected?
Ans: How can i check it status? As I have created Transactional MSMQ and able to received in this queue from iis application. also enabled Journal option.

Thanks
Ramesh Chand
10/22/2015 11:57 AM | Ramesh chand
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: