第12章 Red Hat JBoss Enterprise Application Platform へ の Fuse のインストール
Red Hat Decision Manager で使用できるように Red Hat JBoss EAP 7.2.7 に Red Hat Fuse 7.7 をインストールし、必要に応じて統合サービスをデプロイします。
Red Hat Fuse 7.7 は Red Hat JBoss EAP 7.2 でサポートされていますが、Red Hat Decision Manager 7.8.x 以降は Red Hat JBoss EAP 7.3 でサポートされています。デプロイメント環境の安定性を確保するには、サポートされている Red Hat JBoss EAP バージョンに基づいて、Fuse および Red Hat Decision Manager を別の Red Hat JBoss EAP インスタンスにインストールしてください。
Red Hat JBoss EAP 7.2 の Red Hat Decision Manager 7.8.x 以降のコンポーネントは、正式にサポートされていません。ただし、Red Hat は、Fuse が Red Hat JBoss EAP 7.3 で利用可能になるまで、商慣習上妥当と考えられる範囲でガイダンスを提供します。MarshallingFormat.JSON は、kie-camel を使用した Red Hat JBoss EAP 7.2 での Fuse 統合ではサポートされません。デフォルトは JAXB です。
前提条件
- Red Hat JBoss Enterprise Application Platform 7.3 に Red Hat Decision Manager がインストールされている。インストールの説明は、Red Hat JBoss EAP 7.3 への Red Hat Decision Manager のインストールおよび設定 を参照してください。
- Red Hat JBoss Enterprise Application Platform 7.2.7 の別のインスタンスを利用できる。
手順
- Red Hat JBoss Enterprise Application Platform 7.2.7 に Red Hat Fuse 7.7 をインストールします。インストールの説明は、Installing on JBoss EAP を参照してください。
-
テキストエディターで、Fuse のホームディレクトリーにある
pom.xmlを開きます。 以下の例のように
pom.xmlファイルを編集して、kie-camelコンポーネントの依存関係を含めて、統合プロジェクトを作成します。<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-api</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-ci</artifactId> <exclusions> <exclusion> <groupId>aopalliance</groupId> <artifactId>aopalliance</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie.server</groupId> <artifactId>kie-server-api</artifactId> <exclusions> <exclusion> <groupId>org.jboss.spec.javax.xml.bind</groupId> <artifactId>jboss-jaxb-api_2.3_spec</artifactId> </exclusion> <exclusion> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.jbpm</groupId> <artifactId>jbpm-bpmn2</artifactId> </dependency> <dependency> <groupId>org.kie</groupId> <artifactId>kie-camel</artifactId> <exclusions> <exclusion> <groupId>org.apache.cxf</groupId> <artifactId>cxf-core</artifactId> </exclusion> <exclusion> <groupId>org.apache.camel</groupId> <artifactId>camel-cxf</artifactId> </exclusion> <exclusion> <groupId>org.apache.camel</groupId> <artifactId>camel-cxf-transport</artifactId> </exclusion> <exclusion> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.kie.server</groupId> <artifactId>kie-server-client</artifactId> <exclusions> <exclusion> <groupId>org.jboss.spec.javax.ws.rs</groupId> <artifactId>jboss-jaxrs-api_2.0_spec</artifactId> </exclusion> </exclusions> </dependency>