Sample app that demonstrates how to use spring-boot-starter-rsocket in a client/server scenario.
Navigate to each project, server/client, and run
./mvnw package
The quickchat-server app can be run with java -jar target/quickchat-0.0.1-SNAPSHOT.jar
. The quickchat-client should be run with java -jar -Dquickchat.server.port=<port of running server> target/quickchat-0.0.1-SNAPSHOT.jar
, which should be 7000 in most cases.
You can test app connectivity by sending curl -XPOST -H 'Accept: application/json' -H 'Content-Type: application/json' http://localhost:8081/chat -d 'Hello'
.