Share via


System.ServiceModel.Channels.MsmqMessageRejected

MSMQ rejected the message.

Description

This trace indicates that an MSMQ message was rejected. 

MSMQ messages can be rejected when Windows Communication Foundation (WCF) (used with either the NetMsmqBinding or MsmqIntegrationBinding) is unable to process them. Such messages are referred to as poison messages. A poison message is rejected when the ReceiveErrorHandling property on the NetMsmqBinding or MsmqIntegrationBinding is set to Reject. A rejected message is delivered back to the sender’s Dead-Letter Queue.

See Poison-Message Handling for more details on when messages become poison and how to configure your service to handle them appropriately.

See MQMarkMessageRejected for more details on what a rejected message means in MSMQ.

See Also

Concepts

Using Tracing to Troubleshoot Your Application
Administration and Diagnostics

Other Resources

Tracing
Poison-Message Handling
MQMarkMessageRejected