http://www.kaotop.com/it/706778.html
http://www.kaotop.com/it/706778.html
使用stream发送和接收消息
使用stream发送和接收消息
-
引入依赖 spring-cloud-starter-stream-rabbit
-
配置 rabbitMq
-
新建接口 StreamClient,分别定义 input() 和 output()
-
接收端
-
发送端
http://www.kaotop.com/it/706778.html
http://www.kaotop.com/it/706778.html
使用stream发送和接收消息
使用stream发送和接收消息
引入依赖 spring-cloud-starter-stream-rabbit
配置 rabbitMq
新建接口 StreamClient,分别定义 input() 和 output()
接收端
发送端