Which URI should you specify in the endpoint configuration settings of the service?

You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?

You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?

A.
net.msmq://localhost/msmq$FailedMessages

B.
net.msmq://localhost/msmq$DeadLetter

C.
net.msmq://localhost/system$DeadXact

D.
net.msmq://localhost/system$DeadLetter

Explanation:
To read messages from a system non-transactional dead-letter queue, the URI must be of the form: net.msmq://localhost/system$DeadLetter.

Using Dead-Letter Queues to Handle Message Transfer Failures
(http://msdn.microsoft.com/en-us/library/ms789035.aspx)



Leave a Reply 1

Your email address will not be published. Required fields are marked *