摘要: spring 资源访问 配置管理 阅读全文
posted @ 2018-01-15 22:00 uptothesky 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 创建spring boot工程,添加pom依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId> </depend 阅读全文
posted @ 2018-01-15 17:19 uptothesky 阅读(309) 评论(0) 推荐(0) 编辑
摘要: RabbitMQ 在docker中运行rabbitmq 浏览器打开:http://10.202.203.29:8080/ 默认用户名/密码都是guest 在Admin页面添加用户 新添加的用户是没有权限的 点击用户名进去,按提示添加权限 这样就可以在程序中访问了。 创建spring boot 项目, 阅读全文
posted @ 2018-01-15 12:10 uptothesky 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 服务端 创建spring boot 工程,命名为config-server,在pom中添加引用 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactI 阅读全文
posted @ 2018-01-15 10:01 uptothesky 阅读(189) 评论(0) 推荐(0) 编辑