Mediating a destination by using a IBM MQ queue as the mediation point

Mediate a destination by using the administrative console to specify a IBM MQ server bus member where the mediation point is to be assigned, and a IBM MQ queue to use as the mediation point where messages are stored. To mediate the destination using a service integration mediation, you must also specify a second bus member (not a IBM MQ server) to use as the mediation execution point and process the messages.

Before you begin

決定要用哪個方法來配置這些資源。 You can mediate a destination by using the administrative console as described in this task, or by using the mediateSIBDestination command.

Before performing this task, ensure that the following resources exist:
  • The mediation that you want to apply to the destination.
  • The IBM MQ server bus member where the mediation point is to be assigned.
  • The IBM MQ queue to use as the mediation point, with the queue attributes set to shareable.
  • For a service integration mediation, a second bus member (not a IBM MQ server bus member) to use as the mediation execution point where the mediation code runs.
Note: The queue manager on the IBM MQ network does not have to be available when you complete this task, but the destination is not usable until the queue manager becomes available.

About this task

You can mediate a destination with a IBM MQ mediation point. This ensures that messages arriving at the designated IBM MQ queue are mediated. In this scenario, the mediated messages are delivered to the queue point, or to another destination that is determined by the default forward routing path destination, or by the mediation code. The mediation can be hosted by service integration, or hosted by IBM MQ.

Procedure

  1. Start the administrative console.
  2. Navigate to the list of destinations for the appropriate bus. Click 服務整合 -> 匯流排 -> bus_name -> [目的地資源] 目的地.
  3. Select the check box for the destination to mediate, then click Mediate. The Mediation wizard is displayed.
  4. Step 1: 選取調解.
    To mediate the destination by using a mediation hosted by service integration:
    1. Select The mediation to apply to this destination.
    2. From the drop-down list, select the mediation.
    3. Click Next.
    To mediate the destination by using a IBM MQ program (for example, a IBM MQ flow):
    1. Select Externally mediated.
    2. Click Next.
  5. Step 2: 將調解指派給匯流排成員.

    When a mediation is assigned to a IBM MQ server bus member, you need a separate bus member that is not a IBM MQ server to act as the mediation execution point and process the messages.

    1. From the drop-down list, select the IBM MQ server bus member where the mediation point is to be assigned.
    2. Optional: If you are using a service integration mediation, select the bus member where the mediation is to run.

      For a mediation hosted by service integration, select a bus member from the list box that is labeled Select a bus member where the mediation will run. If you are using an external mediation, by definition it does not run in a bus member.

    3. Click Next.
  6. Optional: If the mediation point is a IBM MQ queue, set the IBM MQ mediation point attributes.
    Note: This step is only displayed if you assigned the mediation point to a IBM MQ queue in the previous step.
    1. Specify a value in the IBM MQ queue name filter field, then click Go.

      精靈會自動探索可用的 IBM MQ 佇列。 不過,有些 IBM MQ 拓蹼會在一個佇列管理程式中定義數千個佇列。 請利用這個過濾器來限制列出的佇列數目。

      預設過濾器值這是一個星號 (*)。 如果設定了這個值(或沒有值),便會列出特定類型的所有佇列(根據所設定的任何佇列類型自訂內容)。 您指定的任何其他值都必須符合下列準則:
      • 它必須包含介於 1 和 48 個字元之間。
      • 它必須符合 IBM MQ 佇列命名規則(請參閱 IBM MQ 資訊中心的 IBM MQ 物件命名規則主題)。

      您也可以用萬用字元 (*) 來搭配其他文字。 比方說,如果您輸入 PAYROLL* 值,就會顯示所有名稱開頭是 PAYROLL 的可用佇列。

    2. Specify a IBM MQ queue name.

      從過濾的清單中選取一個佇列名稱。 如果清單未包含您想要的佇列,請在標籤為其他,請指定的清單中,選取最後一個項目。 下拉清單旁會顯示一個文字輸入框。 請在文字輸入框中輸入佇列名稱。

      如果在遠端 IBM MQ 系統上找到佇列,IBM MQ 內所定義的佇列內容會顯示為唯讀欄位。 這個應該可以協助您確認您找到了想要的佇列,且它是依照您想要的方式來配置。 如果找不到佇列,就會從視圖中移除這些唯讀欄位。

    3. Specify the reliability levels that you require when inbound nonpersistent and inbound persistent IBM MQ messages are converted to service integration format messages.

      調解會直接從指定的 IBM MQ 佇列接收訊息,因此,調解通常不會在意訊息的可靠性層次,因為訊息已遞送成功。 不過,在接收訊息時,訊息會轉換成服務整合格式(通常是轉換成 JMS 格式服務整合訊息),這個選項就指定服務整合格式訊息的可靠性層次。 如需可用的可靠性層次的相關資訊,請參閱 IBM MQ 佇列點 [設定]

    4. Specify whether you want IBM MQ to include an MQRFH2 message header when sending messages to the queue.

      MQRFH2 標頭儲存沒有對應的 IBM MQ 訊息標頭欄位的服務整合傳訊資訊。 當訊息傳送到目的地時,服務整合會指示 IBM MQ 將訊息寫入佇列中。 這個選項指定服務整合是否指示 IBM MQ 寫入含有 MQRFH2 標頭的訊息。

      如果訊息的消費端(這裡是調解)是在 IBM MQ 或服務整合中執行的 JMS 應用程式,或 IBM MQ XMS 應用程式,或預期 MQRFH2 標頭的 IBM MQ MQI 應用程式,請選取這個選項。 如果調解是不預期 MQRFH2 標頭的 IBM MQ MQI 應用程式,請勿選取此選項。

    5. Click Next.
  7. Check the summary of your selections, then click Finish to confirm mediation of the destination.

Results

You have mediated a destination by using a IBM MQ queue as the mediation point.

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



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