Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 41,592 times

Contents

Related Categories

Get the Message - MSMQ - Speed vs Reliability

LACanadian

Speed vs Reliability

There are two techniques that MSMQ uses to transmit messages across the network. The first (and the default) results is a fast transfer that has the possibility that a message may be lost. This is due to the fact that messages are kept in memory as they are being routed. If the routing computer were to crash before the message could be sent to the destination, it would be lost. The second technique causes the message to be placed on the disk of the routing computer before it continues on its journey. The resulting I/O causes a degradation in performance, but it does ensure delivery. The Delivery property in the MSMQMessage object is used to control the technique that is used. By setting Delivery to MQMSG_DELIVERY_RECOVERABLE, you ensure that the transaction arrives at its destination. The default value is MQMSG_DELIVERY_EXPRESS.

I am the owner of a small application development consulting company that specialized in the design and implementation of Internet-based applications. While there are others who can make a web site look good, our expertise is in making the site function. This includes infrastructure design, database design and administration, software development and deployment. For the most part, we utilize Microsoft-based languages and tools. And we are skilled enough to have generated two patent applications for our clients.

Comments

  • enableNotification in MSMQ using vb.net

    Posted by shahidnoor86 on 29 Jul 2008

    I am using MSMQ-3 on my local machine. I am using enableNotification method to notify me when a message comes in the queue. But i am getting error message while using enableNotification. The messag...

  • XML sample

    Posted by mightytookDev on 08 Dec 2004

    Ummm, there's a lot of other stuff around the code that I have (which was in a VB.DLL used within ASP pages), but I tried to pull out the working code that would get to the essence of what you need. E...

  • How to send and receive an XML file in a message q

    Posted by CyberLotus on 08 Dec 2004

    Hi,

    Could you please let me know, how to send an xml file as an object to a message queue? If possible can you provide me any code snippet for this as I'm novice to this technology.

    Also, I want...

  • MSMQ

    Posted by thongfam on 21 Sep 2004

    Hi,


    I have similar error "The operation is not supported on a workgoup installation of computer" while testing MSMQ program. I am using VB6 to write the MSMQ program. Do you have any advise on h...

  • MSMQ

    Posted by gdiazzap on 25 May 2004

    I need to Know hoy many messages are in a MSMQ Queue using API, WMI or OCX component using Visual Basic
    Any Idea?

    Gabriel