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) 應用程式,您在相關聯的啟動規格上套用對等的額外配置。
- 目標
- 目標類型
- 目標重要性
- 目標入埠傳輸鏈
- 連線近似性
如需這些連線內容的詳細資訊,以及預設傳訊提供者選擇應用程式傳訊引擎的程序概觀,請參閱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.