Open janezmejias009 opened 2 years ago
I try to connect with spring boot currently have the next code:
@MessageMapping("my-balance") public Flux timestamps() { return Flux.interval(Duration.ofSeconds(1)) .map(sequence -> LocalTime.now().toString()); }
Improvement Suggestion
How I can connect with this?
sending with rsc it's work java -jar rsc.jar --debug --stream --route rep-balance tcp://192.168.0.17:7000
is posible provide a example to Connect with Spring-Boot? Thanks, I love it project!
I try to connect with spring boot currently have the next code:
@MessageMapping("my-balance") public Flux timestamps() {
return Flux.interval(Duration.ofSeconds(1))
.map(sequence -> LocalTime.now().toString());
}
Improvement Suggestion
How I can connect with this?
sending with rsc it's work java -jar rsc.jar --debug --stream --route rep-balance tcp://192.168.0.17:7000
is posible provide a example to Connect with Spring-Boot? Thanks, I love it project!