File tree 1 file changed +5
-0
lines changed
src/main/java/com/freemanan/starter/httpexchange 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 5
5
import com .freemanan .starter .httpexchange .shaded .ShadedHttpServiceProxyFactory ;
6
6
import java .time .Duration ;
7
7
import java .util .Optional ;
8
+ import org .slf4j .Logger ;
9
+ import org .slf4j .LoggerFactory ;
8
10
import org .springframework .beans .factory .config .ConfigurableBeanFactory ;
9
11
import org .springframework .core .env .Environment ;
10
12
import org .springframework .util .Assert ;
22
24
* @author Freeman
23
25
*/
24
26
class ExchangeClientCreator {
27
+ private static final Logger log = LoggerFactory .getLogger (ExchangeClientCreator .class );
25
28
26
29
private final ConfigurableBeanFactory beanFactory ;
27
30
private final Environment environment ;
@@ -108,6 +111,8 @@ private WebClient buildWebClient() {
108
111
baseUrl = "http://" + baseUrl ;
109
112
}
110
113
builder .baseUrl (baseUrl );
114
+ } else {
115
+ log .warn ("No base-url configuration found for client: {}" , clientType .getName ());
111
116
}
112
117
if (!CollectionUtils .isEmpty (channelConfig .getHeaders ())) {
113
118
channelConfig
You can’t perform that action at this time.
0 commit comments