270.9. Camel Reactive Streams Starter
spring-boot 用户提供了一个初学者模块。在使用初学者时,CamelReactiveStreamsService
可以直接注入到 Spring 组件中。
要使用初学者,请在 spring boot pom.xml 文件中添加以下内容:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-reactive-streams-starter</artifactId> <version>${camel.version}</version> <!-- use the same version as your Camel core version --> </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-reactive-streams-starter</artifactId>
<version>${camel.version}</version> <!-- use the same version as your Camel core version -->
</dependency>