7.2. Installing SwitchYard on JBoss Fuse
SwitchYard does not necessarily need to be installed on JBoss Fuse explicitly. When a SwitchYard application is installed, as long as its accompanying features file is defined correctly, its dependencies will be installed automatically if they are not already installed. This includes the core SwitchYard components.
You can confirm this by installing a quickstart application on a fresh installation of JBoss Fuse.
However, you can also install SwitchYard and its related components manually.
Note
Each SwitchYard component and application is provided as a feature. Packaged features (including quickstart applications) are defined in the SwitchYard features file located at
installDir/system/org/switchyard/karaf/switchyard/2.0.1.redhat-620117/switchyard-2.0.1.redhat-620117-core-features.xml
.
Procedure 7.1. Install SwitchYard Manually
- Start JBoss Fuse:
./installDir/bin/fuse
- List the available SwitchYard features by entering the following console command. If this is a fresh instance, they will all be uninstalled at this point.
JBossFuse:karaf@root> features:list | grep switchyard
- Install the core SwitchYard components by entering the following console command:
JBossFuse:karaf@root> features:install switchyard
- List the SwitchYard features again. You will now see that SwitchYard (the switchyard feature) has been installed, along with its dependencies as defined by the SwitchYard features file.