Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8969677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:37:35+00:00 2026-06-15T17:37:35+00:00

Okay, so I’ve been trying to wrap my head around queue -> dead-letter queue

  • 0

Okay, so I’ve been trying to wrap my head around queue -> dead-letter queue -> poison subqueue of dead-letter queue -> ?

Now, as far as I understand, messages can be sent to the poison queue if they fail processing or if the Action on the message is not supported by the receiver. Most of the articles I’ve found show implementing the poison service with the same contract as the main service. Wouldn’t that put a message poisonous to the poison message queue into the poison message queue if the error is that the contract doesn’t support the message provided?

Wouldn’t it make more sense to have a handler that can handle anything in the poison queue? The below assumes a WCF Message, which probably isn’t safe either (and is completely untested), but is there a way to have fool-proof poison queue handling? The more I try to think through the edge cases with queueing, the more I feel that it’s impossible to have a complete system that handles all possibilities.

    [OperationContract(IsOneWay = true, Action = "*")]
    [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
    public void CatchAll(Message message)
    {
        // Log somewhere?
    }

Another thought is to have a trigger that moves all messages from the poison queue back into the dead-letter queue to be handled again – which will probably poison again and loop infinitely.

I guess the specific question is.. how do people handle poison messages in a dead-letter queue? And the general question is – how the heck do you handle all situations in MSMQ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:37:36+00:00Added an answer on June 15, 2026 at 5:37 pm

    As far as I was aware, the MsmqMessage<T> type can be used in concert with any of the WCF msmq bindings.

    So if you specify an recieve type of MsmqMessage<String> this should cover all bases. You will receive the message as a string. How you handle what is in the string is another story…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay so I have been trying to get a div system to work as
Okay - I have a dilemma. So far my script converts page titles into
Okay, I'm trying to reverse engineer a feature on a website I found -
Okay,I've been following this tutorial http://coenraets.org/blog/android-samples/androidtutorial/ Basically it gives me exactly what i need
Okay, so I'm making a table right now for Box Items. Now, a Box
Okay, Now admittedly this sounds like a silly question; But, I actually have a
Okay so the title may be a bit misleading. What I am trying to
Okay, so I'm trying to make a game that uses this algorithm: http://www.codeproject.com/Articles/15573/2D-Polygon-Collision-Detection But
Okay so I've been having trouble with my first XML project, so I've turned
Okay I've spent the last hour trying to find a solution to this but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.