Archive for the Category: macOS (Mac OS X)

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, Programming, Raspberry Pi, 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, Programming, Raspberry Pi, 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, Programming, Raspberry Pi, 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, Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Java 17 Released

IBM Announces IBM Semeru Runtimes

IBM has introduced no-cost IBM Semeru Runtimes to develop and run Java applications. https://developer.ibm.com/blogs/introducing-the-ibm-semeru-runtimes/ https://developer.ibm.com/languages/java/semeru-runtimes/ IBM Semeru Runtimes use the class libraries from OpenJDK, along with the Eclipse OpenJ9 Java Virtual Machine to enable developers to build and deploy Java applications that will start quickly, deliver great performance, all while using less memory. Key highlights […]

Also posted in Java, JMS, Linux, Programming, Unix, Windows Comments Off on IBM Announces IBM Semeru Runtimes

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, Open Source, Programming, Raspberry Pi, 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, Open Source, Programming, Raspberry Pi, Unix, Windows Comments Off on Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

IBM MQ Knowledge Center Icons

IBM keeps added more and more icons in the MQ Knowledge Center to highlight which platforms and/or versions that a particular feature is supported on. You can find a complete list and explanation of the icons on the following MQ Knowledge Center page: https://www.ibm.com/docs/en/ibm-mq/latest?topic=mq-release-platform-icons-in-product-documentation Regards, Roger Lacroix Capitalware Inc.

Also posted in Education, HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, Linux, Unix, Windows, z/OS Comments Off on IBM MQ Knowledge Center Icons

Microsoft OpenJDK Builds

I had to rub my eyes and read the announcement twice!! 🙂 Microsoft announces the general availability of Microsoft Build of OpenJDK: https://devblogs.microsoft.com/java/announcing-general-availability-of-microsoft-build-of-openjdk/ Java at Microsoft spans from Azure to Minecraft, across SQL Server to Visual Studio Code, LinkedIn and beyond! We use more Java than one can imagine. The Microsoft Build of OpenJDK is […]

Also posted in Java, JMS, Linux, Open Source, Programming, Windows Comments Off on Microsoft OpenJDK Builds

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, Open Source, PCF, Programming, Raspberry Pi, Unix, Windows Comments Off on Java MQ Code to Clear a Queue of Messages