Microservice bus - Java CLI
mvn clean compile assembly:single
java -jar <path to jar>
Listens to a topic on the bus and prints JSON to stdout. By default it will also listen for response topics detected on messages, and JSON is pretty-printed. For Newline-delimited JSON compatibility, specify -p false.
Options:
- --topic or -t
- --follow or -f listen for following topics, empty to disable (Default: response, ack)
- --pretty or -p set to false to use as a newline-delimited json stream, (Default: true)