42.5. 依赖项

要在 Camel 路由中使用 Base64,您需要添加实现此数据格式的 camel-base64 的依赖项。

如果使用 Maven,则只需在 pom.xml 中添加以下内容:

<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-base64</artifactId>
  <version>x.x.x</version>  <!-- use the same version as your Camel core version -->
</dependency>