+

Search Tips | Advanced Search

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:

Depending on which platform you are using, these samples are installed under the pcf directory in the samples or tools directory of your IBM MQ installation (see Installation directories for IBM MQ classes for Java).


Procedure

  1. Create a PCF message to perform an administrative action and parse the response message.
  2. Send this PCF message using the IBM MQ classes for Java.