pf4j-spring-tutorial
pf4j-spring-tutorial copied to clipboard
spring-plugin-container use spring-boot-starter-web
Hi, I am trying to build spring-plugin-container with spring-boot-starter-web instead of spring-boot-starter-webflux. But I don't know how to process below code in PluginConfig.java. Can you teach me how to handle pluginEndPoints if I only use starter-web.
Best
@Bean
@DependsOn("pluginManager")
public RouterFunction<?> pluginEndpoints(PluginManager pm) {
registerMvcEndpoints(pm);
return getReactiveRoutes(pm);
}
@guozhi72 has it been solved?