Add info on multi-module projects. Fixes gh-1053.

This commit is contained in:
Olga Maciaszek-Sharma
2024-09-06 17:45:30 +02:00
parent 0333ed19af
commit 187034dcc2

View File

@@ -74,6 +74,8 @@ TIP: To use `@EnableFeignClients` annotation on `@Configuration`-annotated-class
or list them explicitly:
`@EnableFeignClients(clients = InventoryServiceFeignClient.class)`.
In order to load Spring Feign client beans in a multi-module setup, you need to specify the packages directly.
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.
[[attribute-resolution-mode]]