SIB エンジン・プロパティー・ファイルの使用

プロパティー・ファイルを使用して、サービス統合バス (SIBus) メッセージング・エンジンの作成、変更、削除を行えます。 SIBus は、製品のデフォルトの Java Message Service (JMS) メッセージング・プロバイダーです。

始める前に

SIB エンジン構成に設定するプロパティー値を決定します。

wsadmin スクリプト・ツールを開始します。 Jython 言語を使用して wsadmin を開始する場合は、サーバー・プロファイルの bin ディレクトリーから wsadmin -lang jython コマンドを実行します。

このタスクについて

プロパティー・ファイルを使用して、SIB エンジンおよびその構成プロパティーの作成、変更、削除を行えます。

表 1. SIB エンジン・プロパティー・ファイルのアクション. SIB エンジン構成プロパティーは作成、変更、または削除できます。
アクション 手順
作成 プロパティー・ファイルに commandName=createSIBusEngine を指定します。 applyConfigProperties コマンドを実行します。
modify プロパティー・ファイルに commandName=modifySIBEngine を指定します。 applyConfigProperties コマンドを実行します。
delete プロパティー・ファイルに commandName=deleteSIBEngine を指定します。 applyConfigProperties コマンドを実行します。
プロパティーの作成 該当なし
プロパティーの削除 該当なし

手順

  1. SIB エンジンを作成、変更、または削除します。
    • SIB エンジンを作成します。

      エディターを開き、ヘッダーに commandName=createSIBEngine を指定し、 SIB エンジン・プロパティーを指定して、ファイルを保存します。

      以下の SIB エンジン構成をプロパティー・ファイルにコピーして、必要に応じてプロパティーを編集することができます。

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=createSIBEngine
      #
      
      #
      # Properties
      #
      initialState=null #String
      node=myNode #String
      defaultBlockedRetryTimeout=null #java.lang.Long
      server=myServer #String
      highMessageThreshold=null #java.lang.Long
      bus=myBus #String,required
      engine=null #String
      cluster=null #String
      description=null #String
    • SIB エンジンを変更します。

      エディターを開き、ヘッダーに commandName=modifySIBEngine を指定し、 必要に応じて SIB エンジン・プロパティーを変更して、ファイルを保存します。変更する必須プロパティーを設定します。 また、クラスターまたはノードのプロパティーと、サーバーのプロパティーを設定します。 単一エンジンの場合、engine プロパティーは不要です。

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=modifySIBEngine
      #
      
      #
      # Properties
      #
      initialState=null #String
      node=myNode #String
      defaultBlockedRetryTimeout=null #java.lang.Long
      server=myServer #String
      highMessageThreshold=null #java.lang.Long
      bus=myBus #String,required
      engine=null #String
      cluster=null #String
      description=null #String
    • SIB エンジン・オブジェクトを削除します。

      エディターを開き、ヘッダーに commandName=deleteSIBEngine を指定し、 バスおよびその他の必須プロパティーを指定して、クラスターまたはノードのプロパティーと、サーバーのプロパティーを指定し、ファイルを保存します。

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=deleteSIBEngine
      #
      
      #
      # Properties
      #
      cluster=null #String
      bus=myBus #String,required
      engine=null #String
      node=myNode #String
      server=myServer #String
  2. applyConfigProperties コマンドを実行します。

    applyConfigProperties コマンドを実行すると、構成にプロパティー・ファイルが適用されます。以下の Jython の例では、オプションの -reportFileName パラメーターによって report.txt という名前のレポートが作成されます。

    AdminTask.applyConfigProperties(['-propertiesFileName mySIBEngine.props -reportFileName report.txt '])

    オプションで、コマンドを対話モードで使用できます。

    AdminTask.applyConfigProperties('-interactive')

タスクの結果

プロパティー・ファイルを使用して、SIB エンジンを構成および管理することができます。

次のタスク

構成の変更を保存します。


トピックのタイプを示すアイコン タスク・トピック



タイム・スタンプ・アイコン 最終更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_config_prop_sibengine
ファイル名:txml_config_prop_sibengine.html