Springboot项目学习笔记(三)(1.5-2.0---shangguigu)

缓存

消息队列

docker安装rebitMQ

测试

实体类

重点

Springboot集成elasticsearch

测试

测试异步任务

定时任务

定时任务表达式

发送邮件任务

发送复杂消息邮件

报错是因为版本太低

修改后可以了

权限配置类

添加依赖

引依赖登录显示名字

重点

springboot dubbo zookeeper整合

实现步骤

1,创建两个项目(一个服务提供者,一个消费者)

2,添加dubbo依赖

3,编写配置文件

服务提供者

消费者

4,service

服务提供者

消费者

测试

springcloud

(一)eureka注册

配置

启动类添加注解

服务注册(多个服务)

配置

service

controller

消费者

controller

测试结果

热部署

添加依赖

修改后按下Ctrl+f9生效

监控管理

定制端点

案例地址:

 https://gitee.com/gongdaosong/Springboot-Security.git    https://gitee.com/gongdaosong/springboot-task.git    https://gitee.com/gongdaosong/Spring-bootceshi.git    https://gitee.com/gongdaosong/springboot_weblux_instance.git    https://gitee.com/gongdaosong/springboot217.git    https://gitee.com/gongdaosong/springboot235.git

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值