Specifying whether messages are forwarded to IBM MQ as JMS messages

Use this task to create a destination context property that determines whether an MQRFH2 header is added to IBM MQ JMS messages produced by foreign or alias destinations.

Before you begin

This task assumes that you have created an alias bus destination or a foreign bus destination. For more information, see Creating an alias destination on a bus or Creating a foreign destination on a bus.

About this task

Carry out this task if you want JMS messages produced by foreign bus destinations or alias bus destinations forwarded to IBM MQ. In this task, you define a destination context property called _MQRFH2Allowed that adds an MQRFH2 header to JMS messages. If you do not configure _MQRFH2Allowed, the default value is NO, and an MQRFH2 header is not added to the message. WebSphere® Application Server 5.1 版 users may be aware of a IBM MQ flag called TARGCLIENT that was used to add RFH2 headers to JMS messages. For more information about the use of the MQRFH2 header in interoperating with IBM MQ, see Mapping the message body to and from IBM MQ format and Point-to-point messaging with a IBM MQ network.

To create and configure a context property called _MQRFH2Allowed on a foreign or alias destination, use the administrative console to complete the following steps:

Procedure

  1. Display the context properties for a selected foreign or alias destination:
    1. Click 服務整合 -> 匯流排 -> bus_name -> [目的地資源] 目的地.
    2. Select the foreign or alias destination for which you want to create the context property.
    3. Under Additional Properties, click Context properties.
  2. Click New to create a new context property.
  3. Specify the following context information:
    名稱
    Type the name _MQRFH2Allowed.
    環境定義類型
    Select the information type Boolean in the drop-down list.
    環境定義值
    Type the value true .
  4. Click OK.
  5. 儲存對主要配置所做的變更。

Results

An MQRFH2 header is added to all messages produced by the foreign or alias destination. This means that JMS messages will be forwarded to IBM MQ as JMS messages.

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjo0050_
檔名:tjo0050_.html