Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@RoutingName should be applicable to method #3031

Closed
danielkec opened this issue May 20, 2021 · 0 comments · Fixed by #3050
Closed

@RoutingName should be applicable to method #3031

danielkec opened this issue May 20, 2021 · 0 comments · Fixed by #3050
Assignees
Labels
enhancement New feature or request P3 webserver

Comments

@danielkec
Copy link
Contributor

Helidon MP provides a way to define reactive routing with SE api:
https://helidon.io/docs/v2/#/mp/jaxrs/10_reactive-routing

By marking @ApplicationScoped bean which implements Service interface.

But such bean can't be created with:

    @Produces
    @ApplicationScoped
    @RoutingName("@default")
    public CoolFilteringService connectionFactory() {
        return new CoolFilteringService();
    }

As io.helidon.microprofile.server.RoutingName is not applicable on method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 webserver
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants