Archive for the Category: Raspberry Pi

MQTT Message Editing Suite V1.1.0 Released

Capitalware Inc. would like to announce the official release of MQTT Message Editing Suite V1.1.0. MQTT Message Editing Suite (MMES) application allows users to subscribe, publish, edit, copy, delete, forward, backup, restore, import and export messages of a topic of an MQTT Broker. The messages of a topic are presented in a table format similar […]

Also posted in Capitalware, Linux, macOS (Mac OS X), MQTT, MQTT Message Editing Suite, Windows Comments Off on MQTT Message Editing Suite V1.1.0 Released

JMS/MQ Program That Creates Connection Factory from Scratch

On StackOverflow, someone asked a question about why their JMS/MQ code was failing. There are many errors in the code. Here is a fully functioning JMS/MQ program that will create the Connection Factory from scratch, connect to a remote queue manager and put a message to a queue. You can download the source code from […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on JMS/MQ Program That Creates Connection Factory from Scratch

New features between Java 8 and Java 17

Ondro Mihályi has just posted a blog item called: New features between Java 8 and Java 17 https://ondro.inginea.eu/index.php/new-features-in-java-versions-since-java-8/ It is very handy when you are trying to write backwards compatible code. Regards, Roger Lacroix Capitalware Inc.

Also posted in Java, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on New features between Java 8 and Java 17

Adoptium Released Java 17 Builds

The Eclipse Adoptium (previously known as Adopt OpenJDK) has released Java 17 builds for AIX ppc64, alpine-Linux x64, Linux aarch64, Linux arm32, Linux ppcle64, Linux s390x, Linux x64, Mac aarch64, Mac x64, Windows x32 & x64. The mission of the Eclipse Adoptium Top-Level Project is to produce high-quality runtimes and associated technology for use within […]

Also posted in Java, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows Comments Off on Adoptium Released Java 17 Builds

Java 17 Released

Oracle has just released Java 17. https://www.oracle.com/news/announcement/oracle-releases-java-17-2021-09-14/ https://openjdk.java.net/projects/jdk/17/ https://www.infoworld.com/article/3606833/jdk-17-the-new-features-in-java-17.html Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today’s demanding embedded environments. Java offers the rich user interface, performance, versatility, portability, and security that today’s applicationsrequire. Regards, Roger Lacroix Capitalware Inc.

Also posted in IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on Java 17 Released

MQ Request/Reply Scenario with Async Getter Thread

Ok. Continuing on with the previous blog posting here, the StackOverflow user says that s/he wants the getter component to be run in a separate thread. To me, the request does not really make a lot of sense. If the user wants to do a Get with CorrelId then they should be coding for synchronous […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Open Source, Programming, Unix, Windows Comments Off on MQ Request/Reply Scenario with Async Getter Thread

Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

On StackOverflow, someone asked a question about putting 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation id. Here is a fully functioning Java/MQ program that will put 2 messages on a queue with unique correlation ids and then retrieve a message with a particular correlation […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Open Source, Programming, Unix, Windows Comments Off on Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

Java MQ Code to Clear a Queue of Messages

If you have done the following runmqsc command to clear a queue: 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 “Clear Queue” command, get the PCF response messages and output if the PCF […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix, Windows Comments Off on Java MQ Code to Clear a Queue of Messages

Updates to My ByteArray Class

Last year, I posted a blog item called Java’s Missing Byte Array Class regarding the missing ByteArray class in Java and I published my ByteArray class for all to use. I have fixed a bug in the getBytes method and added 2 new methods: public int convertToInt_BE() public void replaceAndResize(byte[] oldByteArray, byte[] newByteArray) I have […]

Also posted in HPE NonStop, IBM i (OS/400), Java, JMS, Linux, macOS (Mac OS X), Open Source, Programming, Unix, Windows, z/OS Comments Off on Updates to My ByteArray Class

Programmatically Get IBM MQ Version for Both Client and Queue Manager

Recently, on both StackOverflow and mqseries.net, people have been asking about getting both the client and queue manager versions numbers for MQ. It is pretty easy to get both the client and queue manager from the command line. For the IBM MQ installation that is running the queue manager, you simply issue the following command: […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Java, JMS, Linux, macOS (Mac OS X), Open Source, PCF, Programming, Unix, Windows Comments Off on Programmatically Get IBM MQ Version for Both Client and Queue Manager