SpringBoot——Internationalization

High-quality blog posts: IT-BLOG-CN 1. Steps for writing internationalization in Spring 【1】Write international configuration files; 【2】Use ResourceBundleMessageSource to manage internationalized resource files; 【3】Use ftp:message on the page to retrieve the…

Springboot+logback detailed configuration

Add dependencies Springboot3.0.2 is used here rely <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.32</version> </dependency> `` application.yml placement spring: application: name: chapter002 profiles: active: dev Detailed configuration of logback…

Springboot&redisson implements delay queue

Redisson implements delay queue Version Notes: spring boot 2.6.0 redisson-spring-boot-starter 3.28.0 1. Add dependencies & configuration <dependency> <groupId>org.redisson</groupId> <artifactId>redisson-spring-boot-starter</artifactId> <version>3.28.0</version> </dependency> application.properties spring.application.name=springboot-redis-delayed-queue-demo spring.redis.database=2 spring.redis.host=localhost spring.redis.password=123456 spring.redis.port=6379 2. Adding delayed…