Creating a queue-type destination and assigning it to a IBM MQ queue

You can use the administrative console to create a queue-type destination and assign it to a IBM MQ queue. Select the IBM MQ server to host the queue, then specify the IBM MQ queue to be hosted.

Before you begin

Get the name of the IBM MQ queue from your administrator, and ensure that the following configuration is established:
Note: A shareable queue can be accessed by more than one service integration application.

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

About this task

After you have added a IBM MQ server as a bus member, you can create a queue-type destination on the bus member that uses a IBM MQ queue as a queue point. This configuration enables service integration applications to send messages to and receive messages from that queue.

Procedure

  1. Start the administrative console.
  2. Navigate to the list of destinations for the appropriate bus.

    Click 服務整合 -> 匯流排 -> bus_name -> [目的地資源] 目的地.

    The 目的地 [集合] form is displayed.

  3. Click New. The "Create a new destination" panel is displayed.
  4. Select Queue as the destination type, then click Next. The "Create a new queue" wizard is displayed.
  5. Set the queue attributes. Enter the name that you want WebSphere Application Server to use to refer to the associated IBM MQ queue, and (optionally) a description of the queue.
  6. Assign the queue to the bus member that is to store and process the messages for the queue.

    Select a IBM MQ server bus member from the list of available bus members.

  7. Set the IBM MQ queue point attributes:
    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 應用程式,請勿選取此選項。

  8. Click Next.
  9. Click Finish to confirm queue creation.

Results

You have created a queue-type destination with a IBM MQ queue point.

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



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