To run the demo
docker run -it --rm -p 8161:8161 -p 61616:61616 -p 5672:5672 -e AMQ_USER=foo -e AMQ_PASSWORD=bar quay.io/artemiscloud/activemq-artemis-broker:1.0.21
cd consumer;
./gradlew run
cd producer;
./gradlew run
You will see in the consumer logs:
10:34:05.666 [Thread-0 (ActiveMQ-client-global-threads)] INFO consumer.PriceConsumer - received 24