Archive for the Category: Java

LearnMQ from IBM Developer

During David Ware’s “What’s New in IBM MQ?” session at MQ Technical Conference v2.0.1.8, David announced LearnMQ (see slide 24). LearnMQ is a place where new users can get some FREE MQ training (and earn badges). The LearnMQ web site is broken down into 3 sections: MQ Essentials MQ Tutorials Run a Demo So, if […]

Also posted in C, C++, Education, HPE NonStop, IBM i (OS/400), IBM MQ, JMS, Linux, Programming, Security, Unix, Windows, z/OS Comments Off on LearnMQ from IBM Developer

Java MQ Code to List Queue Status

The other day I answered a question on StackOverflow about getting the LGETIME and LPUTIME attributes of queue status command. I figured I should also post the code here for everyone to read & use. If you have done the runmqsc command for Queue Status of Type ‘Queue’ for all queues of a queue manager […]

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

Eclipse 4.8 (Photon) Released

On June 27th, 2018, Eclipse Foundation has released the annual Eclipse release train: https://projects.eclipse.org/releases/photon Eclipse is an open source community, whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. The Eclipse Foundation is a not-for-profit, member supported corporation […]

Also posted in C, C++, JMS, Linux, macOS (Mac OS X), Open Source, Programming, Windows Comments Off on Eclipse 4.8 (Photon) Released

Security Risk for MQ Model Queue

Well, I learnt something new today: an MQ model queue is a security risk! It is not that a model queue in of itself is a security risk but rather what you can do with a model queue to get a backdoor to a queue or maybe it is called a ‘side channel attack’ of […]

Also posted in .NET, C, C#, C++, HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, JMS, Linux, Programming, Security, Unix, Windows, z/OS 1 Comment

Code to Show the IBM MQ JMS Message Named Property Issue

I’m getting comments/questions about the blog posting I made yesterday: IBM MQ JMS Message Named Property Issues. There are 2 ways to create a JMS message with a non-JMS Java program: You can use the MQRFH2 class You can use Named Properties and specify “mcd.Msd”, “jms.Dst” and “jms.Pri” properties. Here is a simple non-JMS Java […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS 2 Comments

IBM MQ JMS Message Named Property Issues

Ah, the joys of writing applications for IBM MQ and inevitable customer support that goes with it. 🙂 Late last week, a customer contacted me with an issue with MQ Visual Edit (MQVE) saying after adding Named Properties (i.e. mcd.Msd, etc.) to a regular message which should turn it into a JMS message, they could […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, JMS, Linux, macOS (Mac OS X), MQ Visual Edit, Programming, Unix, Windows, z/OS 3 Comments

More Information on Command Server’s Issues

As some of you may have read in T.Rob Wyatt’s blog, I’ve been doing some testing with MQ Auditor enabled on a queue manager to see what is going on under the covers with MQ and sending my results to T.Rob. I was just going to send a simple note to T.Rob saying he should […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, Linux, MQ Visual Edit, Unix, Windows, z/OS 2 Comments

Creating A JMS (MQRFH2) Message in non-JMS Java Application

This is the third post regarding JMS (MQRFH2) messages in non-JMS application. The previous 2 are: Handling A JMS (MQRFH2) Message in non-JMS Java Application JMS (MQRFH2) Message But The User Sees Garbage If you want to create JMS messages then the simplest solution is to use the IBM MQ classes for JMS. In case […]

Also posted in IBM i (OS/400), IBM MQ, IBM MQ Appliance, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS 2 Comments

Handling A JMS (MQRFH2) Message in non-JMS Java Application

In the post ‘JMS (MQRFH2) Message But The User Sees Garbage‘, I wrote about how to properly view a JMS message (aka MQRFH2 message) on an MQ queue. I mentioned in the posting that non-JMS applications can be coded to deal with JMS messages. So in this posting, I’ll show you code for handling both […]

Also posted in HPE NonStop, IBM i (OS/400), IBM MQ, IBM MQ Appliance, JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS 2 Comments

JMS (MQRFH2) Message But The User Sees Garbage

I swear at least once a month I read about someone complaining that they are seeing garbage (unreadable) output when they try to read their JMS (aka MQRFH2) message in IBM MQ. The user will put a message to a queue with their JMS application then try and read it with a non-JMS tool and […]

Also posted in IBM i (OS/400), IBM MQ, IBM MQ Appliance, JMS, Linux, macOS (Mac OS X), MQ Batch Toolkit, MQ Visual Browse, MQ Visual Edit, Programming, Unix, Windows, z/OS Comments Off on JMS (MQRFH2) Message But The User Sees Garbage