pf4j-spring-tutorial icon indicating copy to clipboard operation
pf4j-spring-tutorial copied to clipboard

spring-plugin-container use spring-boot-starter-web

Open guozhi72 opened this issue 4 years ago • 1 comments

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 avatar Jun 15 '21 19:06 guozhi72

@guozhi72 has it been solved?

halower avatar Oct 26 '22 15:10 halower