Queues and topics
JMS works inside channels of messages that manage the messages asynchronously. These channels contain messages that they will collect or remove according the configuration and the type of channel.
These channels are of two types, queues and topics. These channels are highly configurable by the WildFly console. Like all components in WildFly they can be installed through the console command line or directly with maven plugins of the project.
In the next two paragraphs, we will show what they mean and all the possible configurations.
Queues
Queues collect the sent messages that are waiting to be read. The messages are delivered in the order they are sent and when beds are removed from the queue.
Creating the queue from the web console
Let's see the steps to create a new queue through the web console:
- Connect to
http://localhost:9990/
. - Go to
Configuration
|Subsystems
|Messaging - ActiveMQ/default
:

- Click on
Queues/Topics
and select theQueues
menu and click on theAdd
button; you...