Springboot
冬了末
这个作者很懒,什么都没留下…
展开
-
Springboot中简单使用Ehcache
Springboot中简单使用Ehcache一. Ehcache概述 Ehcache is an open source, standards-based(基于标准) cache that boosts(提高) performance, offloads your database, and simplifies scalability(简化可扩展性). It's the most widel...原创 2019-09-09 23:04:54 · 279 阅读 · 0 评论 -
SpringBoot发送邮件
SpringBoot发送邮件一. 添加依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId></dependency><!--发送html模板需要用...原创 2019-10-11 16:03:17 · 274 阅读 · 0 评论 -
SpringBoot基于RabbitMQ发送邮件
SpringBoot基于RabbitMQ发送邮件一. 背景 新用户注册成功后,服务器会给用户发一份电子邮件,所以一共有两个模块。一个模块功能是用户注册,另一个模块功能是发送电子邮件。 当用户注册成功,此时服务器会将邮件信息(MailMessage)和路由key发送到交换机中(mail.exchange),交换机根据路由key再将邮件信息发送到邮件队列(mail.queue)中。发送...原创 2019-10-11 18:17:18 · 354 阅读 · 0 评论