We can verify that our queue was created successfully by expanding the JMS
Resources node on the left-hand side, expanding the Destination Resources
node, and verifying that our queue is listed.
Now that we have verified that our queue was created successfully, it is time to write
some code to send a JMS message.
Implementing a JMS message producer
In this section, we will develop a simple JSF application. One of the CDI managed
beans in our application will produce a JMS message and send it to the queue we
configured in the previous section.
Let's create a new Java class named JmsMessageModel . This class will store the
message text that will be sent to the queue.