随笔分类 - springboot
摘要:注: 代码demo 一、简单模式(单生产者单消费者):将消息直接发送到队列中,供消费者消费 1.创建队列 2.代码实现 1)添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-st
阅读全文
摘要:拦截器 @Aspect @Component public class NoRepeatAspect { @Resource private RedisTemplate<String, Object> redisTemplate; @Pointcut("@annotation(com.sunline
阅读全文
浙公网安备 33010602011771号