How to control MQ message format types between MQSTR and MQHRF2.

How to control MQ message format types between MQSTR and MQHRF2.

book

Article ID: KB0093506

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
The property shows the value should be JMS_IBM_MQMD_Format: MQHRF2/MQSTR.


Issue/Introduction

How to control MQ message format types between MQSTR and MQHRF2.

Resolution

There are many online searching results showing the above property has to do with the client code:


((MQQueue) producerDestination).setTargetClient(JMSC.MQJMS_CLIENT_NONJMS_MQ); 


It would work if you set the queue name in JMS activities to queue:///<QUEUE NAME>?targetClient=1

Additional Information

The attached document (Filename:MQ_Config_BW_JMS_MQ_Connect.doc) details how to make BW connect to MQ using JMS activities

Attachments

How to control MQ message format types between MQSTR and MQHRF2. get_app