Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 2. Installing Kaoto


2.1. Pre-requisites

2.1.1. Microsoft Visual Studio Code

Kaoto ships as a Microsoft Visual Studio Code extension. If you haven’t installed VS Code on your manchine yet, please do that now.

Visit the download page and follow the installation instructions that apply best for you.

2.1.2. Camel CLI

To give you the best user experience we recommend to install the Camel CLI, which offers various functionalities for Camel developers.

Please follow the below steps to install it.

  1. Install JBang following these instructions.
  2. Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.

    jbang version
  3. Run the following command from a command shell to install the Camel CLI:

    jbang app install camel@apache/camel
  4. Check if the Camel CLI is working by executing the following from a command shell. This should output the version of the installed Camel CLI.

    camel version

2.1.3. Citrus Testing

If you want to work with the Citrus testing framework, we strongly recommend to install the Citrus JBang plugin.

Please follow the below steps to install it.

  1. Install JBang following these instructions.
  2. Verify that JBang is working by executing the following from a command shell. This should output the version of installed JBang.

    jbang version
  3. Run the following command from a command shell to install the Citrus JBang plugin:

    jbang app install citrus@citrusframework/citrus
  4. Check if the Citrus JBang plugin is working by executing the following from a command shell. This should output the version of the installed Citrus JBang plugin.

    citrus --version

2.2. Installation

Important

It is recommended to install the Extension Pack for Apache Camel by Red Hat. It will provide a set of tools to manage, edit, run, and debug Camel integrations in various contexts.

The following procedure explains how to install VS Code and other essential extensions required to get started with Kaoto.

  1. If you do not have Visual Studio Code installed, install it from here.
  2. Launch VS Code.
  3. Install the Extension Pack for Apache Camel by Red Hat into your Visual Studio Code instance.
  4. To run and debug Camel integrations using VS Code UI, install JBang CLI. Optionally, to run Camel integrations from the command line, install Camel CLI.

    extpack install
Important

Create and select a workspace folder where all the integration will be stored. Selecting a workspace is important to ensure all required commands will be available and behave correctly.

Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.