265.9. 依赖项

要在 camel 路由中使用 Protobuf,您需要添加对 camel-protobuf 的依赖项,这将实现这些数据格式。

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