Archive for the Category: Windows

Updates to MessageSelector Class

In the blog posting, Java MQ Code to Retrieve Messages from a Queue Based on a Filter, I posted code for a Java MessageSelector class. I have updated the setFilter method to catch any invalid values that may be passed to the MessageSelector class on the setFilter call. You can download the source code for […]

Also posted in IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Programming, Unix Comments Off on Updates to MessageSelector Class

Java MQ Code to Retrieve Messages from a Queue Based on a Filter

There is a misconception regarding MQ/JMS message based filtering. Some people think that the IBM MQ queue manager does something special for JMS applications that is not done for plain Java or C/C++/C#/COBOL applications. It is just NOT true. Note: For C/C++/C#/COBOL applications, they can use the SelectionString from MQOD structure to perform message selection. […]

Also posted in IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Programming, Unix 5 Comments

IBM MQ Fix Pack 9.0.0.7 Released

IBM has just released Fix Pack 9.0.0.7 for IBM MQ V9.0 LTS https://www.ibm.com/support/docview.wss?uid=ibm10887223 Regards, Roger Lacroix Capitalware Inc.

Also posted in Fix Packs for MQ, IBM i (OS/400), IBM MQ, Linux, Unix Comments Off on IBM MQ Fix Pack 9.0.0.7 Released

RFE – IBM MQ support for AdoptOpenJDK

Please review and vote for this RFE if you think it’s a good idea. The link below will take you directly there. Headline: Add support for AdoptOpenJDK in IBM MQ URL to review the RFE and Vote for it if you like: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=133991 Description: Currently, IBM MQ supports 2 JDKs/JREs: IBM and Oracle. It would […]

Also posted in IBM MQ, Java, JMS, Linux, Programming, Unix Comments Off on RFE – IBM MQ support for AdoptOpenJDK

IBM MQ and OpenJDKs

On Monday, Peter Potkay asked a simple question on the MQ List Server: Does IBM support any version of OpenJDK, from any vendor, for use with IBM MQ Clients, specifically the Resource Adapter? Tim McCormick of IBM responded with: The full list of supported JREs are listed in the MQ system requirements here: https://www.ibm.com/support/docview.wss?uid=swg27006467 Specific […]

Also posted in IBM MQ, Java, Linux, macOS (Mac OS X), Programming, Unix 1 Comment

Oh Error Messages, Why Can’t You Say What You Mean?

Talk about spending several days chasing my tail. šŸ™ I have a customer who build a brand new Windows 2016 Server and install IBM MQ v9.1 then applied Fix Pack 2. So, they were at MQ v9.1.0.2. Next, they installed MQAUSX and applied their generic definitions to it. So far, so good. But when they […]

Also posted in C, Capitalware, IBM MQ, MQ Authenticate User Security Exit 3 Comments

Windows: Is the exe or DLL 32-bit or 64-bit?

Every so often, I have a customer send me an email with a IBM MQ message like the following: Channel program ‘TEST.CHL’ ended because user exit ‘C:\Capitalware\MQAUSX\mqausx(SecExit)’ is not valid. Architecture of the exit library does not match the process’s architecture which is ’64’ bit. MQAUSX is just an example, as it could happen with […]

Also posted in Capitalware, Licensed As Free, MQ Authenticate User Security Exit, Operating Systems Comments Off on Windows: Is the exe or DLL 32-bit or 64-bit?

Java MQ Code to List All Local Queues Filtering by Current Depth

If you have done the following runmqsc command to display all local queues filtering by current queue depth of a queue manager: And you wanted to do the same thing via a program, here is a fully functioning Java MQ example that will connect to a remote queue manager, issue a PCF “Inquire Queue” command […]

Also posted in Capitalware, HPE NonStop, IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix Comments Off on Java MQ Code to List All Local Queues Filtering by Current Depth

Java MQ Code to List All Local Queues and their Attributes

If you have done the following runmqsc command to display all local queues with attributes of a queue manager: And you wanted to do the same thing via a program, here is a fully functioning Java MQ example that will connect to a remote queue manager, issue a PCF “Inquire Queue” command, get the PCF […]

Also posted in Capitalware, HPE NonStop, IBM i (OS/400), IBM MQ, Java, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix Comments Off on Java MQ Code to List All Local Queues and their Attributes

Its All Fun & Games Until Your Message Is Empty!

I’ve collected a bunch of JSON sample files from the internet for testing with MQ Visual Edit. It is always good to have a variety of samples when testing features of a program rather than making up a couple of your own. I was doing some testing with MQ Visual Edit and the JSON samples […]

Also posted in IBM MQ, Java, Linux, macOS (Mac OS X), MQ Visual Edit, Programming 2 Comments