7.4. 依赖项

要在 camel 路由中使用 ASN.1 数据格式,您需要添加对 camel-asn1 的依赖关系,该格式实施此数据格式。

如果使用 Maven,您只需在 pom.xml 中添加以下内容,替换最新和最长版本的版本号(请参阅最新版本的下载页面)。

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