Red Hat Camel K is deprecated
Red Hat Camel K is deprecated and the End of Life date for this product is June 30, 2025. For help migrating to the current go-to solution, Red Hat build of Apache Camel, see the Migration Guide.第 5 章 Camel K 快速开始开发人员教程
Red Hat Integration - Camel K 根据 https://github.com/openshift-integration 提供的集成用例提供快速启动开发人员教程。本章详细介绍了如何设置和部署以下教程:
5.1. 部署基本 Camel K Java 集成
本教程介绍了如何在 OpenShift 上的云中运行简单的 Java 集成,对集成应用配置和路由,以及作为 Kubernetes CronJob 运行集成。
先决条件
- 请参阅 GitHub 中的教程阅读 主题 :https://github.com/openshift-integration/camel-k-example-basic/tree/1.6.x。
-
您必须已安装了 Camel K operator 和
kamel
CLI。请参阅安装 Camel K。 - Visual Studio (VS) Code 是可选的,但推荐提供最佳的开发人员体验。请参阅链接:设置 Camel K 开发环境。
流程
克隆教程 Git 存储库:
$ git clone git@github.com:openshift-integration/camel-k-example-basic.git
-
在 VS Code 中,选择 File
Open Folder camel-k-example-basic。 -
在 VS Code 导航树中,单击
readme.md
文件。这会在 VS Code 中打开一个新标签页,以显示教程说明。 按照教程说明进行操作。
或者,如果您没有安装 VS Code,您可以手动输入 部署基本 Camel K Java 集成 的命令。