Skip to content

Commit 187034d

Browse files
committed
Add info on multi-module projects. Fixes gh-1053.
1 parent 0333ed1 commit 187034d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/modules/ROOT/pages/spring-cloud-openfeign.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ TIP: To use `@EnableFeignClients` annotation on `@Configuration`-annotated-class
7474
or list them explicitly:
7575
`@EnableFeignClients(clients = InventoryServiceFeignClient.class)`.
7676

77+
In order to load Spring Feign client beans in a multi-module setup, you need to specify the packages directly.
78+
7779
WARNING: Since `FactoryBean` objects may be instantiated before the initial context refresh should take place, and the instantiation of Spring Cloud OpenFeign Clients triggers a context refresh, they should not be declared within `FactoryBean` classes.
7880

7981
[[attribute-resolution-mode]]

0 commit comments

Comments
 (0)