RSocket client route
aboccag opened this issue · 1 comments
aboccag commented
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 commented
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