@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
@EnableCircuitBreaker
public @interface EnableHystrix
Convenience annotation for clients to enable Hystrix circuit breakers (specifically).
Use this (optionally) in case you want discovery and know for sure that it is Hystrix
you want. All it does is turn on circuit breakers and let the autoconfiguration find
the Hystrix classes if they are available (i.e. you need Hystrix on the classpath as
well).
- Author:
- Dave Syer, Spencer Gibb