223.5. 依赖项

要在 Camel 路由中使用 MIME-Multipart,您需要添加实施此数据格式的 camel-mail 依赖关系。

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

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