The information in this article applies to:
SUMMARYMQJava1.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. MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center. Click the file names below to download the files: MQJava1.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Contents of MQJava1.exe
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:
Visual J++ 1.x (1.0 and 1.1)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.Files in the Projectmsmqjavapp.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:
Keywords : kbfile kbMSMQ100 kbVJ100 kbVJ110 kbVJ600 kbDSupport |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |