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

  • SEARCH
  • Home
  • 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 8999807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:13:44+00:00 2026-06-16T00:13:44+00:00

So, I was able to get my dead-letter service pulling from the queue when

  • 0

So, I was able to get my dead-letter service pulling from the queue when using NetMsmqBinding. However, when I switched to using MsmqIntegrationBinding to push messages to the target queue, the dead-letter queue no longer sends to the dead-letter service. The messages are no longer WCF-formatted – they are just XML serialized. I’m not sure how to get the piping setup to send to the new service. The queue and URL still match.

I’ve tried running as it was (with netMsmqBinding), switching to msmqIntegrationBinding, and specifying the serializationFormat as below:

<bindings>
  <msmqIntegrationBinding>
    <binding exactlyOnce="true" durable="true" serializationFormat="Xml">
      <security mode="Transport" />
    </binding>
  </msmqIntegrationBinding>
</bindings>

However, none of this seems to work. Any ideas would be welcome.

  • 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-16T00:13:45+00:00Added an answer on June 16, 2026 at 12:13 am

    After enabling WCF tracing (with switchValue="All"), I was able to see that I was getting the following Exception:

    An error occurred while deserializing an MSMQ message's XML body. The message cannot be received. Ensure that the service contract is decorated with appropriate [ServiceKnownType] attributes or the TargetSerializationTypes property is set on the MsmqIntegrationBindingElement.
    

    After finding the right contract to which to add ServiceKnownType for each of my Types, I encountered this further Exception:

    The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
    

    From Simon Evans’ Blog, we find the following information:

    MsmqIntegrationBinding requires contracts that are designed only for its use. Unless additional behaviors are applied to the dispatcher, the service contract can contain only one service operation.
    

    Basically, as we’ve seen in the MSDN example, using MsmqIntegrationBinding requires one operation that accepts all messages (Action = "*" [or, really, Action = "" would probably work as well]). Once I switched to msmqIntegrationBinding and switched my contract (ensuring I still had ServiceKnownType on the new one), everything started working.

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

Sidebar

Related Questions

I am able to get the output of a pdf using fpdf, the problem
I am able to get the current page's url in jsf from back-end bean
I am able to get the feed from the spreadsheet and worksheet ID. I
I imagine this is pretty dead-simple, but somehow I haven’t been able to get
I need to be able get a single specific attribute from an element with
I'm using the UPS service to monitor the state of my UPS from an
not able to get this, can someone help for this LINQ query? select col1,
I am able to get the current date, but I don't know how to
I am not able to get the hg head or status for a given
I'm not able to get this persistence file correct... I do not find any

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.