Now that we have an embedded broker and have looked at some of the commands for viewing the broker properties and statistics, let's look at how to interact with the broker using JMS commands. In this recipe, we will look at the command for creating and interacting with the broker by creating a connection factory.
Using the Tab key, we will see a list of the JMS commands available for creating, sending, and browsing messages as well as creating connection factories. These commands are listed in the following screenshot:
First, let's create a connection factory for our embedded broker. We do this using the