要使用平台 HTTP 供应商(引擎)才能在 classpath 上可用。其目的是使用用于不同运行时的驱动程序,如 Quarkus、VertX 或 Spring Boot。
目前,只有 Quarkus 和 VertX by camel-platform-http-vertx。此 JAR 必须位于类路径中,否则无法使用平台 HTTP 组件,并且在启动时抛出异常。
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-platform-http-vertx</artifactId>
<version>4.8.5.redhat-00008</version>
<!-- use the same version as your Camel core version -->
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-platform-http-vertx</artifactId>
<version>4.8.5.redhat-00008</version>
<!-- use the same version as your Camel core version -->
</dependency>
Copy to ClipboardCopied!Toggle word wrapToggle overflow