Solved

MessageQueue Asynchronous Transactional or Non-Transactional

Posted on 2013-01-14
3
258 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now