Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Integration Guide
Use Integration packs for Red Hat JBoss Fuse
Copyright © 2011-2015 Red Hat, Inc. and/or its affiliates.
Abstract
Chapter 1. Install Integration Pack Copy linkLink copied to clipboard!
Pack Definitions
The JBoss Fuse Integration Packages contain the following components:
- Fuse Integration distros for both Karaf and JBoss EAP - SwitchYard BRMS components: Rules component and BPM component
- KIE JBoss Fuse Distributions BPMS layer - Camel components used in KIE: kie-camel and jbpm-workitem-camel components
1.1. Instructions for JBoss Fuse on JBoss EAP Copy linkLink copied to clipboard!
Prerequisites Copy linkLink copied to clipboard!
Identify the correct sequence of packages to install Copy linkLink copied to clipboard!
- Red Hat JBoss Fuse 6.2.1 [Rollup N] on EAP Installer
- For the JBoss Fuse on EAP package, you have a choice between the original GA package or subsequent rollup patches, identified by Rollup N in the package name. Generally, we recommend that you install the latest rollup patch.
- Integration Pack for Red Hat JBoss Fuse 6.2.1 [Roll Up N] on EAP, BRMS VersionOfBRMS and BPM Suite VersionOfBPMS Installer
- The integration package that you pick must have a rollup number, Roll Up N, that matches rollup number of the underlying JBoss Fuse on EAP package.
Install the SwitchYard/BRMS Integration Pack on JBoss EAP Copy linkLink copied to clipboard!
- It is assumed that JBoss EAP 6.4 is already installed, where the installation directory is given by the environment variable
EAP_HOME. - If you have not already installed the JBoss Fuse on EAP package, install it now. Download the appropriate GA package or rollup patch, and install it over JBoss EAP using the following command:
java -jar fuse-eap-installer-version.jar ${EAP_HOME}java -jar fuse-eap-installer-version.jar ${EAP_HOME}Copy to Clipboard Copied! Toggle word wrap Toggle overflow - (For integration packages released before JBoss Fuse 6.2.1 Rollup 3) Prior to JBoss Fuse 6.2.1 Rollup 3, integration packages were released as a single Jar file which could be installed directly over the JBoss EAP installation using the following command:
java -jar fuse-integration-eap-installer-version.jar ${EAP_HOME}java -jar fuse-integration-eap-installer-version.jar ${EAP_HOME}Copy to Clipboard Copied! Toggle word wrap Toggle overflow - (For subsequent integration packages) More recent integration packages consist of an archive file,
fuse-integration-eap-installer-distro-version.zip, which must be unpacked to obtain two separate Jar files that are installed in sequence. To install this kind of integration package, proceed as follows:- Use an archive utility to extract the Jar packages from the downloaded integration package file,
fuse-integration-eap-installer-distro-version.zip, into a convenient temporary location. - Install the KIE EAP package over JBoss EAP using the following command:
java -jar kie-eap-installer-version.jar ${EAP_HOME}java -jar kie-eap-installer-version.jar ${EAP_HOME}Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Install the Fuse integration package over JBoss EAP using the following command:
java -jar fuse-integration-eap-installer-version.jar ${EAP_HOME}java -jar fuse-integration-eap-installer-version.jar ${EAP_HOME}Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Run the Quickstarts Copy linkLink copied to clipboard!
$EAP_HOME/quickstarts/fuse-integration.
- Start the instance of JBoss EAP where the integraton pack has been installed. See chapter "Start and Stop the Application Server" in "Installation on JBoss EAP"
- Navigate to
$EAP_HOME/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.
1.2. Instructions for JBoss Fuse on Karaf Copy linkLink copied to clipboard!
Install the Integration Pack on JBoss Fuse on Karaf Copy linkLink copied to clipboard!
Procedure 1.1. Install the SwitchYard/BRMS Integration Pack on JBoss Fuse on Karaf
- Download
fuse-integration-karaf-distro-1.3.0.redhat-002.zipand 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
features:addurl mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/featuresCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the JBoss Fuse integration features files:
features:addurl mvn:org.jboss.integration.fuse/karaf-features/1.3.0.redhat-002/xml/features
features:addurl mvn:org.jboss.integration.fuse/karaf-features/1.3.0.redhat-002/xml/featuresCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Install the core features by entering the following command:
features:install feature-name
features:install feature-nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow 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
fuse-bxms-switchyard-bpm fuse-bxms-switchyard-common-knowledge fuse-bxms-switchyard-rulesCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.3.0.redhat-002/xml/featuresCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Install the quickstart features by entering the following command:
features:install feature-name
features:install feature-nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow and replacing feature-name with the feature name one at a time:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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 Copy linkLink copied to clipboard!
Procedure 1.2. Install the SwitchYard/BRMS Integration Pack on JBoss Fuse Fabric
- Download
fuse-integration-karaf-distro-1.3.0.redhat-002.zipand unpack the.zipfiles on to JBoss Fuse on Karaf. - Add a new management user.
fabric:create --wait-for-provisioning --new-user admin --new-user-password admin
fabric:create --wait-for-provisioning --new-user admin --new-user-password adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Start JBoss Fuse.
- Create a new fabric profile for integration pack.
fabric:profile-create --parent jboss-fuse-full jboss-fuse-full-ip
fabric:profile-create --parent jboss-fuse-full jboss-fuse-full-ipCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
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 defaultCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
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-ipCopy to Clipboard Copied! Toggle word wrap Toggle overflow 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
features:install feature-nameCopy to Clipboard Copied! Toggle word wrap Toggle overflow For example, install the switchyard rules quickstart feature.fabric:profile-edit --feature fuse-bxms-switchyard-quickstart-rules-camel-cbr jboss-fuse-full-ip
fabric:profile-edit --feature fuse-bxms-switchyard-quickstart-rules-camel-cbr jboss-fuse-full-ipCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Using Integration Pack with Maven Copy linkLink copied to clipboard!
<dependencyManagement> section of the top-level pom.xml. For example:
version.fuse.eap should be 6.2.1.redhat-084 in this instance.
Chapter 2. kie-eap-distribution-bpms-layer package Copy linkLink copied to clipboard!
Red Hat JBoss BPM (JBoss BPM) and Red Hat JBoss BRMS (JBoss BRMS) integration.
Apply the package Copy linkLink copied to clipboard!
Contents of the JBoss BPMS layer integration package Copy linkLink copied to clipboard!
| Camel | SwitchYard | |
|---|---|---|
| JBoss BPM |
JBos BPM can invoke Camel
|
JBoss BPM can orchestrate SwitchYard services
|
| Camel can invoke JBoss BPM | SwitchYard can invoke JBoss BPM | |
| Rules |
Rules does not use Camel.
|
Rules does not use SwitchYard
|
| Camel can use Rules | SwitchYard can call Rules |
JBoss BPM can invoke Camel Copy linkLink copied to clipboard!
Camel can invoke JBoss BPM Copy linkLink copied to clipboard!
JBoss BPM can orchestrate SwitchYard services Copy linkLink copied to clipboard!
EAP_HOME/quickstarts/fuse-integration/switchyard-bpm-service for an example.
SwitchYard can invoke JBoss BPM Copy linkLink copied to clipboard!
- Invoke/signal local JBoss BPM process defined as a SwitchYard service.
- Invoke/signal remote JBoss BPM process defined as a SwitchYard service.
- Invoke/signal a remote JBoss BPM process and insert/execute rules locally as a SwitchYard service using rules definitions resolved as KIE artifacts using Maven.
Camel can use Rules Copy linkLink copied to clipboard!
SwitchYard can use Rules Copy linkLink copied to clipboard!
Chapter 3. Download the Offline Repository Copy linkLink copied to clipboard!
- In the Red Hat customer portal, go to https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?product=jboss.fuse&downloadType=distributions.
- Select the Fuse version you are using. This displays the downloads for that Fuse version.
- Select the offline Maven repository that meets your needs.
- Click .
- Unpack the downloaded zip file into an accessible location.
- Add entries for the unzipped repositories to Maven's
settings.xmlfile. Base your entry on the code below.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Legal Notice Copy linkLink copied to clipboard!
Trademark Disclaimer