Skip to content

Commit 9be1b74

Browse files
XML Configuration: List API names on startup #2626 (#2633)
1 parent c35283d commit 9be1b74

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/src/main/java/com/predic8/membrane/core/router/RouterXmlBootstrap.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import java.nio.charset.*;
2323
import java.util.*;
2424

25+
import static com.predic8.membrane.core.proxies.ApiInfo.logInfosAboutStartedProxies;
26+
2527
/**
2628
* Bootstrapping a {@link DefaultRouter} instance using Spring XML-based configuration.
2729
*/
@@ -50,6 +52,7 @@ public static Router initByXML(String resource) {
5052
);
5153
}
5254
DefaultRouter router = bf.getBean("router", DefaultRouter.class);
55+
logInfosAboutStartedProxies(router.getRuleManager());
5356
bf.start(); // Starting ApplicationContext will also call router.start(). Init should happen before.
5457
return router;
5558
}

0 commit comments

Comments
 (0)