Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 735 Bytes

lab05-configuring-a-topic.md

File metadata and controls

29 lines (21 loc) · 735 Bytes

Lab 5. Configuring a Topic

Creating a Topic using the CLI

  1. Open the etc/broker.xml file with your favorite text editor.

  2. Add a multicast type address with a topic

     <address name="testTopic">
         <multicast>
           <queue name="testTopic"/>
         </multicast>
     </address>
  3. Start the broker or restart in case it’s already running.

  4. Test the new created queue using running the following command in two (2) diferent terminal consoles

    $ ./artemis consumer --destination topic://testTopic --message-count 10
  5. Run the producer in a third terminal/console

    $ ./artemis producer --destination topic://testTopic --message-count 10

End of Lab 5.