Archive for the Category: Java

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

Java 10 Released

Oracle has just released Java 10. http://www.oracle.com/technetwork/java/javase/10-relnote-issues-4108729.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), JMS, Linux, macOS (Mac OS X), Programming, Unix, Windows, z/OS Comments Off on Java 10 Released

High performance IBM MQ & JMS applications

Bastien Jansen has written a blog posting called: High performance IBM MQ & JMS applications. If you program in JMS and IBM MQ then you should definitely read the blog posting. You can find it here: https://bjansen.github.io/java/2018/03/04/high-performance-mq-jms.html Persistent messages are used by queue managers to guarantee message delivery. That’s not the correct IBM terminology. It […]

Also posted in IBM MQ, IBM MQ Appliance, JMS, Programming Comments Off on High performance IBM MQ & JMS applications

What is the default behaviour of method writeString of MQMessage for Java?

Paul Titheridge has posted a blog item over at developerWorks with the title “What is the default behaviour of the IBM MQ classes for Java method MQMessage.writeString(String)?”: https://developer.ibm.com/messaging/2018/03/09/mqmessage-writestring-default-behaviour/ Regards, Roger Lacroix Capitalware Inc.

Also posted in IBM i (OS/400), IBM MQ, Linux, Programming, Unix, Windows, z/OS Comments Off on What is the default behaviour of method writeString of MQMessage for Java?