Archive for the Category: Open Source

C# .NET MQ Code to Publish to a Topic

A couple of years ago, I posted a blog item called: C# .NET MQ Code to Subscribe to a Topic about subscribing to a topic using C# .NET code. I just realized that I never posted a C# .NET sample code to publish to a topic. So, here go – enjoy. You can download the […]

Also posted in .NET, C#, IBM MQ, Programming, Windows Comments Off on C# .NET MQ Code to Publish to a Topic

C# .Net Program That Adds Message Properties to an MQ Message

The other day, a colleague emailed me asking if I had a sample C# .Net/MQ program that adds message properties to a message. So. I thought I would post it for everyone to use. You can download the source code from here. Regards, Roger Lacroix Capitalware Inc.

Also posted in .NET, C#, IBM MQ, Programming, Windows Comments Off on C# .Net Program That Adds Message Properties to an MQ Message

Ubuntu 21.10 Released

Canonical has just released Ubuntu v21.10. https://releases.ubuntu.com/21.10/ Super-fast, easy to use and free, the Ubuntu operating system powers millions of desktops, netbooks and servers around the world. Ubuntu does everything you need it to. It’ll work with your existing PC files, printers, cameras and MP3 players. And it comes with thousands of free apps. Regards, […]

Also posted in Linux, Operating Systems Comments Off on Ubuntu 21.10 Released

OpenBSD v7.0 Released

Theo de Raadt has just released OpenBSD v7.0. https://www.openbsd.org/70.html The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography. Regards, Roger Lacroix Capitalware Inc.

Also posted in Operating Systems Comments Off on OpenBSD v7.0 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), 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, macOS (Mac OS X), Programming, Raspberry Pi, Unix, Windows Comments Off on Put 2 Messages with Unique CorrelId and Get 1 Message by CorrelId

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, macOS (Mac OS X), 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, macOS (Mac OS X), PCF, Programming, Raspberry Pi, 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), Programming, Raspberry Pi, Unix, Windows, z/OS Comments Off on Updates to My ByteArray Class

Ubuntu 21.04 Released

Canonical has just released Ubuntu v21.04. http://releases.ubuntu.com/21.04/ Super-fast, easy to use and free, the Ubuntu operating system powers millions of desktops, netbooks and servers around the world. Ubuntu does everything you need it to. It’ll work with your existing PC files, printers, cameras and MP3 players. And it comes with thousands of free apps. Regards, […]

Also posted in Linux, Operating Systems Comments Off on Ubuntu 21.04 Released