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.

For more information on when messages become poison and how to configure your service to handle them appropriately, see Poison-Message Handling.

For more information on what a rejected message means in MSMQ, see MQMarkMessageRejected.

See also