Archive for the Category: Java

MQ JMS Double Get API Calls

Tuning applications is always a good thing. 🙂 Colin Paice has reminded me of the MQ JMS default value for an MQGET buffer size is 4KB in his blog posting here. IBM’s default value of 4KB is far too low to be useful. Having such a low value causes excessive number of MQ JMS Get […]

Also posted in IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on MQ JMS Double Get API Calls

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, Linux, macOS (Mac OS X), Programming, Unix, Windows 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, Linux, macOS (Mac OS X), Programming, Unix, Windows 5 Comments

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, JMS, Linux, Programming, Unix, Windows 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, Linux, macOS (Mac OS X), Programming, Unix, Windows 1 Comment

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, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix, Windows Comments Off on Java MQ Code to List All Local Queues Filtering by Current Depth

Excelsior Jet and macOS Mojave

Well, here’s a little oddity that Excelsior Jet users should know about. On Friday, I decided to upgrade my MacBook Pro from High Sierra (v10.13) to Mojave (v10.14). Everything went smoothly. I checked the version level and it said I was running v10.14.2. Note: I have Excelsior Jet 15.3 Professional installed on my MacBook Pro. […]

Also posted in macOS (Mac OS X), Programming Comments Off on Excelsior Jet and macOS Mojave

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, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix, Windows 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, Linux, macOS (Mac OS X), MQ Visual Edit, Programming, Windows 2 Comments

New: Universal File Mover v2.0.0

Capitalware is pleased to announce the release of Universal File Mover v2.0.0. It is a free open source project. Universal File Mover is more than a simple tool to manage the transfer of files. It allows the user to combine business processes into a workflow. The user combines a series of Action commands to create […]

Also posted in Capitalware, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, macOS (Mac OS X), Open Source, Universal File Mover, Unix, Windows Comments Off on New: Universal File Mover v2.0.0