
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
springboot事务管理 注解@Transactional 无效原因,及解决办法
1.不需要在启动类加上@EnableTransactionManagement,@EnableTransactionManagement是 spring-tx 的注解,不是 spring-boot 的spring-boot 会自动配置事务,相关的配置在 org.springframework.boot.autoconfigure.transaction.TransactionAutoConf...
开启hystrix:feign.hystrix.enabled=true时, RequestContextHolder.getRequestAttributes()为空
使用Hystrix时,如何传播ThreadLocal对象?我们知道,Hystrix有隔离策略:THREAD以及SEMAPHORE。如果你不知道Hystrix的隔离策略,可以阅读我的书籍《Spring Cloud与Docker微服务架构实战》,或者参考文档:https://github.com/Netflix/Hystrix/wiki/Configuration#executionis...
Spring Cloud Feign中的@RequestParam,@RequestBody,@PathVariable
SpringMVC的请求参数绑定机制了解Feign历史的朋友会知道,Feign本身是Netflix的产品,Spring Cloud Feign是在原生Feign的基础上进行了封装,引入了大量的SpringMVC注解支持,这一方面使得其更容易被广大的Spring使用者开箱即用,但也产生了不小的混淆作用。所以在使用Spring Cloud Feign之前,笔者先介绍一下SpringMVC的一个入参..
到底了







