#
Create an ActiveMQ Topic
On this tutorial you learn how to create an ActiveMQ Topic. This task is very simple.
Apache ActiveMQ ™ is the most popular and powerful open source messaging and Integration Patterns server. Apache ActiveMQ is an open source message broker written in Java together with a full Java Message Service (JMS) client. It provides "Enterprise Features" which in this case means fostering the communication from more than one client or server.
Active MQ has great scheduler support, that means you can schedule your message to be delivered at a particular time. Apache ActiveMQ is a message broker written in Java with JMS, REST and WebSocket interfaces, however it supports protocols like AMQP, MQTT, OpenWire and STOMP that can be used by applications in different languages.
Info
A message broker is an intermediary program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver.
Creating an ActiveMQ Topic is very simple: you have to open the ActiveMQ Admin Console in the Web Browser using a link like http://HOSTNAME:8161/admin/index.jsp :
Note
The default password for the ActiveMQ admin user is admin.
The ActiveMQ Admin Console looks like:
Click on "Topics" and the following window will appear:
Enter the topic name and click on "Create". The ActiveMQ topic is created, and you will see it in the same web page:
As you can see there are more information related to topics in this page.
When you look at a broker using JMX you will see a number of topics starting with ActiveMQ.Advisory. These are the destinations used by the Advisory Message feature of ActiveMQ which allows you to listen to the behaviour of the system.