Skip to content

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

@guozhi72

Description

@guozhi72

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions