Commit 64258624 by Dave Syer

Make @EnableZuulProxy switch on Hystrix

parent 8005712b
...@@ -4,10 +4,12 @@ import java.lang.annotation.*; ...@@ -4,10 +4,12 @@ import java.lang.annotation.*;
import org.springframework.context.annotation.Import; import org.springframework.context.annotation.Import;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
/** /**
* @author Spencer Gibb * @author Spencer Gibb
*/ */
@EnableHystrix
@EnableEurekaClient @EnableEurekaClient
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment