From b8ed8462476f4b7f8451b76977ccf23cd286164d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EC=9A=A9=EC=84=B1=28Yongsung=20Yoon=29/=EA=B0=9C?= =?UTF-8?q?=EB=B0=9C=ED=98=81=EC=8B=A0=ED=8C=80/SKP?= Date: Thu, 11 May 2017 11:29:59 +0900 Subject: [PATCH] Update docs to indicate the need of declaring feign's fallback implementation as a Spring bean --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 64c9c7fc..ab48c463 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -1107,7 +1107,7 @@ favor for an opt-in approach. [[spring-cloud-feign-hystrix-fallback]] === Feign Hystrix Fallbacks -Hystrix supports the notion of a fallback: a default code path that is executed when they circuit is open or there is an error. To enable fallbacks for a given `@FeignClient` set the `fallback` attribute to the class name that implements the fallback. +Hystrix supports the notion of a fallback: a default code path that is executed when they circuit is open or there is an error. To enable fallbacks for a given `@FeignClient` set the `fallback` attribute to the class name that implements the fallback. You also need to declare your implementation as a Spring bean. [source,java,indent=0] ----