第 98 章 exec 组件

作为 Camel 版本 2.3 可用

exec 组件可用于执行系统命令。

98.1. 依赖项

Maven 用户需要在其 pom.xml中添加以下依赖项

<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-exec</artifactId>
  <version>${camel-version}</version>
</dependency>

其中 ${camel-version} 必须替换为 Camel 的实际版本(2.3.0 或更高版本)。