IBM WebSphere MQ V7 MQQueue setTargetClient MQJMS_CLIENT_NONJMS_MQ deprecated

Attempting to migrate from IBM WebSphere MQ V6 to V7.

One of the lines that we have is

((com.ibm.mq.jms.MQQueue) queue).setTargetClient(JMSC.MQJMS_CLIENT_NONJMS_MQ);

JMSC.MQJMS_CLIENT_NONJMS_MQ displayed as deprecated in v7.

What is the correct line replacement? For a while I looked around, but could not find any information.

+3
source share
2 answers

See the WebSphere MQ Using Java manual . In particular, review the Object Properties section and scroll down to Table 3. Then find the entry in Table 3 for TARGCLIENT. The rightmost column shows the values ​​for each of the setter methods. In this case, the values ​​for the method are setTargetClient:

  • WMQConstants.WMQ_CLIENT_JMS_COMPLIANT
  • WMQConstants.WMQ_CLIENT_NONJMS_MQ

. , , [CLASSPATH][3] .

V6 V7, WebSphere MQ Migration. , . " " Java JMS" . .

, , Fix Pack 7.0.1.5 , Java/JMS. V7, . . -, WMQ . . SupportPac MQC7. , Fix Pack . , EXE Windows, RPM Linux ..

+7

. 7 " RFH 2 , " . , MQ, JMS Queue.

+1

All Articles