SpringCloud Stub Runner Stream
2023-12-12 17:50 更新
Spring Cloud Contract验证程序Stub Runner的消息传递模块为您提供了一种与Spring Stream集成的简便方法。对于提供的工件,它会自动下载存根并注册所需的路由。
如果Stub Runner与Stream集成,则首先将
messageFrom或sentTo字符串解析为频道的destination,并且不存在这样的destination,则将目的地解析为频道名称。
如果要使用Spring Cloud Stream,请记住要添加对
org.springframework.cloud:spring-cloud-stream-test-support的依赖。
Maven.
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-test-support</artifactId>
<scope>test</scope>
</dependency>Gradle.
testCompile "org.springframework.cloud:spring-cloud-stream-test-support"
以上内容是否对您有帮助:

免费 AI IDE


更多建议: