You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rohan Sircar e2e2d17d87 Added bash tags to readme 4 years ago
LICENSE Initial commit 4 years ago Added bash tags to readme 4 years ago First commit 4 years ago

Scala Stomp Client Demo

A demo of using a stomp client in Scala with an Ammonite script. Makes use of the java library java-stomp-ws and provides two convenience extension methods. By default the script queries the websocket endpoints of Chatto.


You need to have ammonite installed.

Once you have done that, start a local instance of Chatto, and run the command -

amm --username yourusername --password yourpassword


./ --username yourusername --password yourpassword

Sample output -

Server message: pong
Server message: {"toUser":"admin","fromUser":"nova","messageContent":"hello"}


Licensed under The Unlicense