Solved

MessageQueue Asynchronous Transactional or Non-Transactional

Posted on 2013-01-14
3
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

632 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