此内容没有您所选择的语言版本。
1.2. Instructions for JBoss Fuse on Karaf
Install the Integration Pack on JBoss Fuse on Karaf
Procedure 1.1. Install the SwitchYard/BRMS Integration Pack on JBoss Fuse on Karaf
The integration SwitchYard/BRMS pack must be installed on an instance of JBoss Fuse on Karaf. Make sure that the server is stopped.
- Download
fuse-integration-karaf-distro-1.3.0.redhat-002.zip
and unpack the .zip files on to JBoss Fuse on Karaf. - Start JBoss Fuse.
- In Karaf, add Drools if it has not already been added:
features:addurl mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/features
- Add the JBoss Fuse integration features files:
features:addurl mvn:org.jboss.integration.fuse/karaf-features/1.3.0.redhat-002/xml/features
- Install the core features by entering the following command:
features:install feature-name
and replacing feature-name with the feature name one at a time:fuse-bxms-switchyard-bpm fuse-bxms-switchyard-common-knowledge fuse-bxms-switchyard-rules
- Add the JBoss Fuse integration quickstart features files:
features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.3.0.redhat-002/xml/features
- Install the quickstart features by entering the following command:
features:install feature-name
and replacing feature-name with the feature name one at a time:fuse-bxms-switchyard-quickstart-rules-camel-cbr fuse-bxms-switchyard-quickstart-rules-interview fuse-bxms-switchyard-quickstart-rules-dtable fuse-bxms-switchyard-quickstart-rules-interview-container fuse-bxms-switchyard-quickstart-bpm-service fuse-bxms-switchyard-demo-library fuse-bxms-switchyard-demo-helpdesk fuse-bxms-camel-spring-drools-decision-table fuse-bxms-camel-blueprint-drools-decision-table fuse-bxms-switchyard-quickstart-rules-csv fuse-bxms-switchyard-quickstart-rules-multithread
The Fuse integration quickstarts can be found in
install_dir/quickstarts/fuse-integration
. Navigate to the directory for the quickstart you want to run. Follow the instructions in the README file to execute the quickstart. Each quickstart has different instructions.
Install the Integration Pack on JBoss Fuse Fabric
Procedure 1.2. Install the SwitchYard/BRMS Integration Pack on JBoss Fuse Fabric
The integration SwitchYard/BRMS pack must be installed on an instance of JBoss Fuse on Karaf. Make sure that the server is stopped.
- Download
fuse-integration-karaf-distro-1.3.0.redhat-002.zip
and unpack the.zip
files on to JBoss Fuse on Karaf. - Add a new management user.
fabric:create --wait-for-provisioning --new-user admin --new-user-password admin
- Start JBoss Fuse.
- Create a new fabric profile for integration pack.
fabric:profile-create --parent jboss-fuse-full jboss-fuse-full-ip
- Modify the list of Maven repositories in the io.fabric8.agent properties PID.
fabric:profile-edit --append --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http://download.lab.bos.redhat.com/brewroot/repos/jb-bxms-6.3-build/latest/maven@id=jb-bxms-6.3-build default
- Edit the Integration pack fabric profile to add repository url.
fabric:profile-edit --repository mvn:org.drools/drools-karaf-features/6.4.0.Beta2-redhat-1/xml/features jboss-fuse-full-ip fabric:profile-edit --repository mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.4.0.redhat-001/xml/features jboss-fuse-full-ip fabric:profile-edit --repository mvn:org.switchyard.karaf/switchyard/2.0.1.redhat-621107/xml/core-features jboss-fuse-full-ip
Install the quickstart features by entering the following command and replacing feature-name with the feature name one at a time.features:install feature-name
For example, install the switchyard rules quickstart feature.fabric:profile-edit --feature fuse-bxms-switchyard-quickstart-rules-camel-cbr jboss-fuse-full-ip
Using Integration Pack with Maven
In order for Maven to resolve the supported versions of CXF and camel-cxf artifacts, the jboss-fuse-parent BOM must be imported into the
<dependencyManagement>
section of the top-level pom.xml. For example:
<dependencyManagement> ... <dependency> <groupId>org.jboss.fuse.bom</groupId> <artifactId>jboss-fuse-parent</artifactId> <version>version.fuse.eap</version> <type>pom</type> <scope>import</scope> </dependency>The value of
version.fuse.eap
should be 6.2.1.redhat-084
in this instance.