摘要:
这里使用的是spring-boot-starter-amqp 一、将Product服务增加到配置中心 1、添加引用 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-cl 阅读全文
posted @ 2019-02-14 17:58 work hard work smart 阅读(1081) 评论(0) 推荐(0) 编辑
|
|||
摘要:
这里使用的是spring-boot-starter-amqp 一、将Product服务增加到配置中心 1、添加引用 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-cl 阅读全文
posted @ 2019-02-14 17:58 work hard work smart 阅读(1081) 评论(0) 推荐(0) 编辑
摘要:
Spring Cloud Stream是Spring Cloud的组件之一,是一个为微服务应用构建消息驱动能力的框架。 1、导入引用 2、定义接口 3、定义消息的接收 4、定义消息的发送 5. 结果 6、发送对象 1) 发送者 2)接收者 7、消息接收到后,再回复消息。使用SendTo 阅读全文
posted @ 2019-02-14 16:42 work hard work smart 阅读(316) 评论(0) 推荐(0) 编辑 |
|||