利用 wsadmin Scripting 來配置傳訊
使用這些主題,瞭解如何使用 wsadmin 工具來配置傳訊。您可以配置訊息接聽器服務、Java™ 傳訊服務設定、佇列和 Connection Factory,以及 IBM MQ 設定。
關於這項作業
您可以利用 wsadmin 工具,來配置各種傳訊連線和設定。
程序
- 配置訊息接聽器服務。
訊息接聽器服務是 JMS 提供者之 JMS 功能的延伸。它提供一個接聽器管理程式來控制和監視一或多個 JMS 接聽器,每個 JMS 接聽器都會代表部署的訊息驅動 Bean 來監視 JMS 目的地。
- 配置 Java 傳訊服務 (JMS) 提供者、目的地和連線。
應用程式伺服器支援透過使用 JMS 提供者和其相關的傳訊系統,進行非同步傳訊。您可以利用 wsadmin 工具,來配置新的 JMS 提供者、目的地和連線。
JMS 目的地用來配置相關聯傳訊提供者的內容。指向 JMS 目的地的連線是由相關聯的 JMS Connection Factory 來建立。JMS Connection Factory 用來建立通往 JMS 目的地之相關 JMS 提供者的連線,供點對點和發佈/訂閱傳訊兩者使用。
- 為應用程式伺服器配置 Queue 和 Topic Connection Factory。 使用 Queue 和 Topic Connection Factory,來建立提供者和目的地之間的連線。Queue Connection Factory 會建立連線,以指向 JMS 佇列目的地相關聯的 JMS 提供者,此適用於點對點傳訊。Topic Connection Factory 會建立連線,以指向 JMS 主題目的地相關聯的 JMS 提供者,此適用於發佈和訂閱傳訊。
- 配置 IBM MQ 設定。 IBM MQ 伺服器代表 IBM MQ 佇列管理程式或 IBM MQ 佇列共用群組。服務整合匯流排傳訊會用它來定義用於連接 IBM MQ 的內容。設定 IBM MQ 伺服器期間,會使用管理主控台來建立伺服器定義、將它新增至服務整合匯流排,以及建立 IBM MQ 佇列類型目的地。
次主題
Configuring resources for the default messaging provider by using the wsadmin tool
You can use these commands to manage JMS resources for the default messaging provider.Configuring resources for IBM MQ messaging provider
You can use these commands to manage JMS resources for the IBM MQ messaging provider.Configuring the message listener service by using scripting
Use scripting to configure the message listener service.Configuring new JMS providers by using scripting
You can use the wsadmin tool and scripting to configure a new Java Message Service (JMS) provider.Configuring new JMS destinations by using scripting
You can use scripting and the wsadmin tool to configure a new Java Message Service (JMS) destination.Configuring new JMS connections by using wsadmin scripting
Use the wsadmin scripting tool to configure a new Java Message Service (JMS) connection.Configuring new queue connection factories by using scripting
You can use scripting and the wsadmin tool to configure new queue connection factories in WebSphere Application Server.Configuring new topic connection factories by using scripting
Use scripting and the wsadmin tool to configure new topic connection factories.Configuring new queues by using scripting
You can use scripting to configure a new queue.Configuring new topics by using scripting
You can configure new topics by using the wsadmin tool and scripting.JCAManagement command group for the AdminTask object
You can use the Jython or Jacl scripting languages to configure messaging with scripting. The commands and parameters in the JCA management group can be used to create and manage resource adapters, Java EE Connector Architecture (J2C) activation specifications, administrative objects, connection factories, administrative object interfaces, and message listener types.


http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_messaging
檔名:txml_messaging.html