-
Open the
etc/broker.xml
file with your favorite text editor. -
Add a
multicast
type address with a topic<address name="testTopic"> <multicast> <queue name="testTopic"/> </multicast> </address>
-
Start the broker or restart in case it’s already running.
-
Test the new created queue using running the following command in two (2) diferent terminal consoles
$ ./artemis consumer --destination topic://testTopic --message-count 10
-
Run the producer in a third terminal/console
$ ./artemis producer --destination topic://testTopic --message-count 10
End of Lab 5.