FILE: Mqjava.exe Shows MSMQ ActiveX Queue Operations Using Java

Last reviewed: March 4, 1998
Article ID: Q176814
The information in this article applies to:
  • Microsoft Message Queue Server version 1.0

SUMMARY

The MQJava sample demonstrates how to perform basic queue operations using Microsoft Message Queue Server (MSMQ) ActiveX components in Java.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Mqjava.exe (size: 38912 bytes) 

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

The MQJava sample shows you how to create, open and close MSMQ queues in Java, and how to send and receive messages.

In order to compile the sample code, you must use the latest Java compiler and Virtual Machine (VM) included in Microsoft SDK 2.0 for Java. Before building the sample, run the JActiveX tool on MSMQ type library (Mqoa.dll) to generate Java wrapper classes for MSMQ ActiveX components. To run the sample, open the file Msmqjavapp.html in Internet Explorer.

For a description of JActiveX tool, please refer to the Microsoft SDK 2.0 for Java documentation available at http://www.microsoft.com/java/sdk/.

Keywords          : MQJava MQProg
Version           : WINNT:1.0
Platform          : winnt
Issue type        : kbfile
Solution Type     : kbsample


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 4, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.