Skip to content

Only the last RouterFunction<> is available with the Kotlin bean DSL #14295

@tgirard12

Description

@tgirard12

I have an app that add several RouterFunction<ServerResponse> with the Kotlin bean DSL and
only the routes from the latest bean of type RouterFunction<> is available on the server.

I have test this app with Spring-boot 2.0.4 and 2.1.0.M2 on Netty.

This is a sample app. You can change the order of the two router declaration and re-run the Unit test.

spring-boot_several-router.zip

Metadata

Metadata

Assignees

Labels

status: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions