43.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>
<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>