Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MessageQueue Asynchronous Transactional or Non-Transactional

Posted on 2013-01-14
3
Medium Priority
?
295 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 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

971 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