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

RSocket client route #19

Open
aboccag opened this issue Sep 4, 2020 · 1 comment
Open

RSocket client route #19

aboccag opened this issue Sep 4, 2020 · 1 comment

Comments

@aboccag
Copy link
Contributor

aboccag commented Sep 4, 2020

Hello :)

I would like to know how to route to a specific message mapping using routes.

I have a spring boot server using RSocket over tcp and this code

server.port=8080
spring.rsocket.server.port=8081
spring.rsocket.server.transport=tcp

@MessageMapping("feedMarketData")
public Flux<MarketData> feedMarketData(MarketDataRequest marketDataRequest) {
    return marketDataRepository.getAll(marketDataRequest.getStock());
}

I Would like to make a .NET request routing to feedMarketData

Thanks for your help !

@OlegDokuka
Copy link
Member

Hi @broadside74!

As of now, this feature is not yet supported in the dotnet implementation.
However, you may encode Payload metadata following the specified layout defined here -> https://github.com/rsocket/rsocket/blob/master/Extensions/CompositeMetadata.md

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

2 participants