6.2. Installing SwitchYard on Apache Karaf
When a SwitchYard application is installed, its dependencies will be installed automatically as long as its
features
file is defined correctly.
You can test this by installing a quickstart application on a fresh installation of the JBoss Fuse Apache Karaf container.
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.1.0.redhat-630xxx/switchyard-2.1.0.redhat-630xxx-core-features.xml
.
Procedure 6.1. Install SwitchYard Manually
- Start the Apache Karaf container:
./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.