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 4105150
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:12:32+00:00 2026-05-20T21:12:32+00:00

Here’s the scenario: 2 Machines: Machine A and Machine B. Let’s sat that their

  • 0

Here’s the scenario:

2 Machines: “Machine A” and “Machine B”.

Let’s sat that their corresponding IP addresses are 192.168.0.100 (for A) and 192.168.0.200 (for B). Both machines have MSMQ installed on them, on Windows Server 2008.

Machine A

Has the following queue configured: private$\aaa, transactional.

Has a single consumer for that queue, which wraps every Read action in an MSMQ transaction, and reads only from the “current” message (that is, no cursor operations are used).

Machine B

Has a single application that sends messages to FormatName:direct=os:192.168.0.100\private$\aaa. Each Send message is wrapped in an MSMQ transaction, with (code in C#):
TimeToReachQueue = Message.InfiniteTimeout
and
TimeToBeReceived = Message.InfiniteTimeout

And… the question

Under this scenario and configuration of private$\aaa, are the messages sent from B to A:

  1. Delivered once? I mean, do I have to make sure in the consumer application on machine A that the “current” message is actually “new” (that is, was not processed before)? Or does the MSMQ itself take care for that matter? I know it sounds a bit silly, since it’s a queue, right?! But I couldn’t find a concrete reference claiming that the messages are in order. I’ve seen such a claim, but not from Microsoft official resource.
  2. In-order? I mean, is it possible that a message M1 cannot be sent from B to A, because of network problems, and then, perhaps, the network is back to normal, and the following message, M2, is successfully sent to machine A?

Thanks a lot!

  • 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-05-20T21:12:33+00:00Added an answer on May 20, 2026 at 9:12 pm
    1. Delivered Once is guaranteed, but keep in mind that you have a transactional queue, so if message processing fails the first time, then it’ll be delivered again until it either succeeds or gets moved to a poisoned message queue. Therefore “Delivered Once” is only guaranteed within that context, and if the other resources you manipulate are also transactional and participate in the distributed transaction then you should be safe.

    2. Messages are “sent together, in the order they were sent, or not at all”. See MSMQ Tips

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

Sidebar

Related Questions

Here's a basic regex technique that I've never managed to remember. Let's say I'm
Here's my scenario - I have an SSIS job that depends on another prior
Here's a coding problem for those that like this kind of thing. Let's see
Here is the scenario: I'm writing an app that will watch for any changes
Here is the issue I am having: I have a large query that needs
I'm getting an error here that says I haven't defined a method, but it
This is beyond both making sense and my control. That being said here is
Here i make 5 Tab buttons that are working proper but now i want
Here's a simple, 45 line console application that reproduces the bug on my Win
Here's a problem I ran into recently. I have attributes strings of the form

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.