第 45 章 gRPC
自 Camel 2.19 起
支持生成者和消费者
gRPC 组件允许您通过 HTTP/2 传输使用 协议缓冲器(protobuf) 交换格式调用或公开远程过程调用(RPC)服务。
45.1. 依赖项
当在 Red Hat build of Camel Spring Boot 中使用 grpc
时,请确保使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-grpc-starter</artifactId> </dependency>