此内容没有您所选择的语言版本。
7.2. Installing SwitchYard on Apache Karaf
SwitchYard does not necessarily need to be installed on Apache Karaf 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 the JBoss Fuse Apache Karaf container.
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 the Apache Karaf container:
./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.