Use with IBM MQ classes for Java
IBM MQ classes for Java applications typically manipulate MQMessage objects, and the Headers support classes can directly interact with these objects, since they natively understand the IBM MQ classes for Java interfaces.
About this task
IBM MQ provides some sample applications that demonstrate how to use the IBM MQ Headers package with the IBM MQ Base Java API (IBM MQ classes for Java).
The samples show two things:
- How to create a PCF message to perform an administrative action and parse the response message.
- How to send this PCF message using the IBM MQ classes for Java.
Depending on which platform we are using, these samples are installed under the pcf directory in the samples or tools directory of the IBM MQ installation (see Installation directories for IBM MQ classes for Java).
Procedure
- Create a PCF message to perform an administrative action and parse the response message.
- Send this PCF message using the IBM MQ classes for Java.
Parent topic: Use the IBM MQ Headers package
Related concepts
- Handling IBM MQ message headers with IBM MQ classes for Java
- Handling PCF messages with IBM MQ classes for Java