Netflix / Hystrix

Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k stars 4.7k forks source link

HystrixCommandAspect lost @HystrixCommand annotation #1994

Open fengshuzi opened 4 years ago

fengshuzi commented 4 years ago

Method method = getMethodFromTarget(joinPoint); this "method" object lost the annotation of @HystrixCommand,and it make @HystrixCommand not work

why not use joinPoint.getMethod() to get the method object, and it works.