WCF:What is it the Dead-letter queue and the Poison queue?
What is the difference?

Answer Posted / ravi

Dead Letter Queue

The main use of queue is that you do not need the client
and the server running at one time. Therefore, it is
possible that a message will lie in queue for long time
until the server or client picks it up. But there are
scenarios where a message is of no use after a certain
time. Therefore, these kinds of messages if not delivered
within that time span it should not be sent to the user.

Poison Queue

A poison message is a message that has exceeded the maximum
number of delivery attempts to the application. This
situation can arise when a queue-based application cannot
process a message because of errors. To meet reliability
demands, a queued application receives messages under a
transaction. Aborting the transaction in which a queued
message was received leaves the message in the queue so
that the message is retried under a new transaction. If the
problem that caused the transaction to abort is not
corrected, the receiving application can get stuck in a
loop receiving and aborting the same message until the
maximum number of delivery attempts has been exceeded and a
poison message results.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of messaging programs?

610


Where you use WSFederationHttpBinding in WCF?

497


Describe the wcf architecture?

459


WCF:Do the system-provided bindings have the support for the Reliable session and what the binding options are enabled by default?

1706


Name the namespace that is used to access WCF service?

536






what are the different instance modes in WCF?

505


What is duplex ws binding?

439


tell me what was the code name for wcf? : Wcf data services

421


Please explain briefly different instance modes in wcf?

432


We have already 2 hostings iis and self hosting. There is another hosting ie was hosting. What is the use of the was(windows activation service) compared to other hosting?

437


What is the purpose of base address in wcf service? How it is specified?

466


What is ConcurrencyMode in WCF?

528


Why do we use wcf services?

390


What is NetMsmqBinding Binding in WCF?

518


Can you explain address in detail?

449