第 111 章 平台 HTTP
Since Camel 3.0
仅支持消费者
平台 HTTP 用于允许 Camel 从运行时使用现有 HTTP 服务器,例如在 Spring Boot、Quarkus 或其他运行时上运行 Camel 时。
111.1. 依赖项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
当在 Red Hat build of Camel Spring Boot 中使用 platform-http 时,请确保使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-platform-http-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-platform-http-starter</artifactId>
</dependency>