Skip to content

Bug in RouteBuildItem the builder has asBlockingRoute but not used internally #48215

@psini

Description

@psini

Describe the bug

I spot this issue the builder of RouteBuildItem has the option asBlockingRoute but when it builds the RouteBuildItem the constructor doesn't have it's fixed to NORMAL . I suppose this is a bug that doesn't allowe to create from an extension a Blocking route using a code like :

 routes.produce(RouteBuildItem.newFrameworkRoute("/route")
                .withRequestHandler(recorder.createEndpointHandler("/route"))
                .asBlockingRoute()
                .build()); 

Image

Expected behavior

We are able to create blocking routes from extension

Actual behavior

The asBlockingRoute is ignored at the end.

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions