19.2. 設定
- Red Hat カスタマーポータルより、Fuse フルインストールバイナリーをダウンロードします。
- 以下のコマンドを実行し、CSV ファイルが置かれるフォルダーへのパスをエクスポートします。
export incomingFolderPath=[Full path to the CSV folder]
- クイックスタートのルートディレクトリーで以下のコマンドを実行します。
mvn clean install -DincomingFolderPath=$incomingFolderPath
- 同じシェルで
FUSE_INSTALL_PATH
およびFUSE_BINARY_PATH
変数を設定します。export FUSE_INSTALL_PATH = [Full path to the folder where Fuse will be installed] export FUSE_BINARY_PATH = [Full path to the Fuse zip file downloaded in step 1]
- JBoss Fuse 6.2.1 で camel-jbossdatagrid-fuse クイックスタートを実行する場合、
setupEverythingOnFuse.sh
スクリプトに以下の変更を実行する必要があります。変更しない場合は、次の手順に進みます。- 6.2.1 コンポーネントを参照するようにエクスポートされる Fuse のバージョンを変更します。
- コンテナー名を
child1
に更新します。
# Original line with old version # export FUSE_VERSION=jboss-fuse-6.2.0.redhat-133 # Updated line for Fuse 6.2.1: export FUSE_VERSION=jboss-fuse-6.2.1.redhat-084 [...] # Original line exporting the profile #sh client -r 2 -d 10 "fabric:container-add-profile child demo-local_producer" > /dev/null 2>&1 # Updated line for Fuse 6.2.1: sh client -r 2 -d 10 "fabric:container-add-profile child1 demo-local_producer" > /dev/null 2>&1
- 環境変数の設定後、クイックスタートのルートディレクトリーから以下のコマンドを実行します。
./setupEverythingOnFuse.sh
- スクリプトの完了後、エラーなしで Fuse Hawtio Console へアクセスできることを確認します。このコンソールは、デフォルトでは
http://127.0.0.1:8181/hawtio/index.html#/login
で実行され、ユーザー名とパスワードは共にadmin
になります。 http://127.0.0.1:8181/hawtio/index.html#/fabric/containers
の Fuse Fabric にアクセスし、child1
およびchild2
コンテナーの両方が作成されたことを確認します。両方のコンテナーは、準備ができたことを示す緑色で強調表示される必要があります。