이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Getting started with Kaoto


The following procedure explains how to create and store integrations with Kaoto.

  1. Open VS Code and select "Open Folder".

    launch vscode
  2. In the folder selection dialog select the folder to store your integrations or create a new folder and select it.
  3. Open Command Palette (Ctrl+Shift+P), paste the following command, and press enter.

    Create a Camel route using YAML DSL
    1b
  4. Provide a name for the new file without extension and press enter.

    1c
  5. The file is created with extension camel.yaml. (Here: demo.camel.yaml).

    1d
  6. Select the log step to configure the Message in the configuration panel.

    1e
  7. Using the icons below the route image, you can choose between a vertical/horizontal layout of the route, zoom in/out, etc. Open Catalog on the far right displays the Camel catalog. There are also several filtering options in the Catalog, which greatly simplifies finding what you need.
  8. To add a component to the Camel route, click on the dot pattern of an existing component or invoke the right-click context menu on the step and select "Append".

    1f
  9. The camel component Catalog will be displayed, click on the additional component and it will be added to the route.

    1g
    1h
    1i
  10. To remove the added component from the Camel route, click on the dot pattern of the existing component or invoke the right-click context menu on the step and select "Delete".

    1l
  11. The existing component will be removed from the route.

    1m

3.1. Running the Camel Route

To get started with simple routes, they can be launched with Camel JBang.

  1. With demo.camel.yaml open, click the button Run Camel Application with JBang in the editor quick action menu at the top right of the editor.

    1p
  2. The terminal will open with the running Camel route. It can take several seconds the first time for Camel JBang to initialize.

    1n
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.