Archive for the Category: macOS (Mac OS X)

Pub/Sub Java/JMS MQ MQGet API Issue

Not surprisingly, when I tested: Subscribing to a topic with JMS Subscribing to a topic with Java (non-JMS) They both showed that the internal JMQI routine was starting with a MQGet buffer size of 4KB and auto-adjusting the size of the buffer as needed (all behind the scenes). Hence, when I used MQ Auditor, I […]

Also posted in IBM i (OS/400), IBM MQ, Java, JMS, Linux, Programming, Unix, Windows, z/OS Comments Off on Pub/Sub Java/JMS MQ MQGet API Issue

How to Improve Your Java/JMS MQ Tuning Cred.

Here’s my version of a cheap Info-Commercial: Do you want to impress your colleagues? Do you want to impress your boss, so that you can receive a big fat bonus? Call today and we’ll show you how to impress the MQAdmins in your company! And if you call within the next 5 minutes, we’ll even […]

Also posted in IBM i (OS/400), IBM MQ, Java, JMS, Linux, Programming, Unix, Windows, z/OS Comments Off on How to Improve Your Java/JMS MQ Tuning Cred.

Tuning Java Programs for Optimum MQ Get API Calls Performance

You should really read this blog posting first. The results of some of the test scenarios below, simply do not make any sense. I would like to think there is some sort of logic behind it but it is probably lack of testing by IBM that introduced some bugs in the code or should I […]

Also posted in IBM i (OS/400), IBM MQ, Java, Linux, Programming, Unix, Windows, z/OS Comments Off on Tuning Java Programs for Optimum MQ Get API Calls Performance

Tuning JMS Programs for Optimum MQ Get API Calls Performance

On Wednesday, I decided to do some testing of some simple (1) MQ for JMS, (2) MQ for Java and (3) procedure language (i.e. amqsbcg) programs to show that using the JVM environment variable of com.ibm.mq.jmqi.defaultMaxMsgSize with an appropriate size could make a JMS application 10 to 15% faster because there would not be any […]

Also posted in IBM i (OS/400), IBM MQ, Java, JMS, Linux, Programming, Unix, Windows, z/OS Comments Off on Tuning JMS Programs for Optimum MQ Get API Calls Performance

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, Java, JMS, Linux, Programming, Unix, Windows, z/OS Comments Off on MQ JMS Double Get API Calls

SQLite v3.29.0 Released

D. Richard Hipp has just released SQLite v3.29.0. http://www.sqlite.org/news.html SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain. Regards, Roger Lacroix Capitalware Inc.

Also posted in C, Database, IBM i (OS/400), Linux, Open Source, Programming, Unix, Windows, z/OS Comments Off on SQLite v3.29.0 Released

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, 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, Java, Linux, Programming, Unix, Windows 5 Comments

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