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

How to handle fireAndForget message from server #30

Open
amao512 opened this issue Mar 28, 2024 · 2 comments
Open

How to handle fireAndForget message from server #30

amao512 opened this issue Mar 28, 2024 · 2 comments

Comments

@amao512
Copy link

amao512 commented Mar 28, 2024

I was trying handle message from server
A Server send me message by fireAndForget

Server is Spring boot

Server Code:

@Scheduled(fixedRate = 10000)
    public void push() {
        rSocketRequester
                .route("api.push")
                .data("some push message with id " + RandomUtil.getPositiveInt())
                .send()
                .block();
    }

Does it possible handle messages like this?

  • RSocket version(s) used: 1.0.0
@amao512
Copy link
Author

amao512 commented Mar 28, 2024

Or is there analog Spring annotation @MessageMapping in dart?

@amao512
Copy link
Author

amao512 commented Mar 28, 2024

@linux-china @nebhale @smaldini @yschimke Help please!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant