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



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

Answer / 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

More WCF Interview Questions

Why to use wcf?

0 Answers  


How many ways to hosting WCF service?

0 Answers  


What was the code name for wcf?

0 Answers  


Is MSMQ works in two-way communications in WCF?

0 Answers   Viscus Infotech,


Differentiate between datacontractserializr and xmlserializer?

1 Answers  






WCF:Why we need the sessions?

1 Answers  


What is DataContract and ServiceContract?Explain

3 Answers   TCS, Tech Mahindra, Wipro,


What is "know types" in wcf?

0 Answers  


What do you understand by the terminology soa?

0 Answers  


WCF:What types of the operation contract parameters could be streamed?

3 Answers   Logica CMG,


What is the usage of "maxconcurrentcalls" in throttling?

0 Answers  


What are the different modes of communication in wcf?

0 Answers  


Categories