ID: Q196578
The information in this article applies to:
MQJava1.exe is a self-extracting executable that provides information on how to create queues, open queues, send messages, and read messages using Microsoft Message Queue (MSMQ) under Java.
The following file is available for download from the Microsoft Software Library:
~ mqjava1.exe (size: 54883 bytes)
Release Date: DEC-15-1998
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591
TITLE : How to Obtain Microsoft Support Files from Online Services
\
Contents of MQJava1.exe
File Name Size
--------------------------------------
Readme.txt 161 bytes
Mqjava6.exe 30,720 bytes
Mqjava11.exe 29,182 bytes
Building this sample differs depending on what version of Visual J++ you
are using. First, run the file MQJava1.exe to extract the different
versions of the sample. Read the following section that corresponds to the
version of Visual J++ you are using:
Run Mqjava11.exe to extract the project files. Open msmqjavapp.dsw in Developer Studio. From the Tools menu, choose the Java Type Library Wizard and select the Microsoft Message Queue Object Library to import the MSMQ type library. To build the project, from the Build menu, choose Build msmqjavapp. Then you are ready to debug the project. From the Build menu select Start, choose Debug and then select Go. When prompted for the class file name msmqjavapp (this is case sensitive). Make sure that if you are using Iexplore.exe you append -new to the end of the command line.
Visual J++ 6.x (6.0 and higher)
Run Mqjava6.exe to extract the project files. Open the Mqjava.vjp file in Visual J++ 6.0. From the Project menu, choose Add COM Wrapper... and then select Microsoft Message Queue Object Library to import the MSMQ type library. To build the project, from the Build menu, choose Build. You are now ready to debug the project. From the Debug menu, select Start.
msmqjavapp.java: Source for the msmqjavapp applet class. This class
contains all the MSMQ specific code for the sample.
msmqjavapp.html: Html page to load up the msmqjavapp applet.
Additional query words:
Version : WINDOWS:1.0,1.1,6.0; WINNT:1.0
Platform : WINDOWS winnt
Issue type : kbhowto
Last Reviewed: December 17, 1998