Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 41,726 times

Contents

Related Categories

Get the Message - MSMQ - The Message itself

LACanadian

The Message itself

If you look closely at the sample code in Sending a Message, you will notice that the body of the message is simply a text string. As we mentioned earlier, this is a simplification that we used for the example. In reality, the message that is sent to and received from the queue is a byte array. In other words, it can be pretty much any structure you want, including such things as text, COM objects, Word documents, Excel spreadsheets and ADO recordsets. This flexibility gives you the ability to pass all manner of items from one application to another. Of course, the down side is that both the sending and receiving application need to agree on the format of the message. So long as this is true, you can post almost anything your heart desires into a message.

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