383.6. 依赖项
要使用 camel 路由中的 Zip 文件,您需要添加实现此数据格式的 camel-zipfile 依赖项。
如果您使用 Maven,您可以只在 pom.xml
中添加以下内容,替换最新和最大版本的版本号(请参阅最新版本的下载页面)。
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-zipfile</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency>