Solved

MessageQueue Asynchronous Transactional or Non-Transactional

Posted on 2013-01-14
3
266 Views
Last Modified: 2013-01-15
I have found many examples on the Internet concerning Asynchronous MessageQueue. The examples are not always clear if its a Transactional or Non-Transactional queue. I have a successful working Non-Transactional Synchronous queue working with C# .NET code. Now I want to work with Asynchronous code.

Q. Can a Transactional queue only be used Asynchronously?

Q. Can a Non-Transactional queue be used Asynchronously?

Q. Advantages or disadvantages of either question above?
0
Comment
Question by:pointeman
3 Comments
 
LVL 8

Expert Comment

by:deepu chandran
ID: 38777761
Hi,

Q1: No, you can have Non-Trnasaction Queue be used asynchronously

Refer below article it has the answer for Q3

http://www.codeproject.com/Articles/4348/Programming-MSMQ-in-NET-Part-2-Transactional-Messa

-- Deepu
0
 
LVL 25

Accepted Solution

by:
apeter earned 250 total points
ID: 38780901
Q Can a Transactional queue only be used Asynchronously?
             Nope it can be both.

Q. Can a Non-Transactional queue be used Asynchronously?
            You can't call. Async is only for transactional MSMQ.

Q. Advantages or disadvantages of either question above?
         The answer is based on your requirement.  If reliability is not a concern for your application, that is, if your application is not affected by lost messages or the order of arrival of messages, use non transactional messaging.
         Other you should use Transcational Q. Remeber that the reliability offerered by transactional messaging comes at a cost: performance.

Hope this helps.
0
 

Author Closing Comment

by:pointeman
ID: 38781172
Thx
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question