Configuring the messaging engine selection process for JMS applications

Configure the JMS connection factory for your application, in order to tune the process through which messaging engine connections are selected for your application.

About this task

To use JMS destinations of the default messaging provider, a client application connects to a messaging engine on the service integration bus to which the destinations are assigned. For example, a JMS queue is assigned to a queue destination on a service integration bus.

依預設,環境會自動將應用程式連接到匯流排上可用的傳訊引擎。 不過,您可以指定額外的配置詳細資料來影響連線程序;比方說,識別特殊的引導伺服器,或是限制只能連線到某些可用傳訊引擎的子群組,或改進可用性或效能,或確保收到之訊息的循序處理。

如果是 JMS 應用程式,您在相關聯的 JMS Connection Factory 上,套用額外的配置。如果是訊息驅動 Bean (MDB) 應用程式,您在相關聯的啟動規格上套用對等的額外配置。

若為預設配置,您只要指定一個必要的連線內容 Bus name,設定應用程式要連接的匯流排名稱即可。如果要進一步限制您的應用程式所能連接的傳訊引擎範圍,您也可以配置其他連線內容:
  • 目標
  • 目標類型
  • 目標重要性
  • 目標入埠傳輸鏈
  • 連線近似性

如需這些連線內容的詳細資訊,以及預設傳訊提供者選擇應用程式傳訊引擎的程序概觀,請參閱How JMS applications connect to a messaging engine on a bus

The steps for this task are based on an application that uses a unified JMS connection factory. You can use the same task to configure a JMS queue connection factory or JMS topic connection factory, but you select the appropriate type of connection factory instead of JMS connection factory.

Procedure


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



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