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

  1. Start the Apache Karaf container:
    ./installDir/bin/fuse
  2. 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
  3. Install the core SwitchYard components by entering the following console command:
    JBossFuse:karaf@root> features:install switchyard
  4. 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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.