第 44 章 HTTP
仅支持生成者
HTTP 组件提供基于 HTTP 的端点来调用外部 HTTP 资源(作为客户端使用 HTTP 调用外部服务器)。
44.1. 依赖项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
当在 Red Hat build of Camel Spring Boot 中使用 http 时,请确保使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-http-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-http-starter</artifactId>
</dependency>