
- Apache ActiveMQ - Home
- Apache ActiveMQ - Overview
- Apache ActiveMQ - Environment Setup
- Apache ActiveMQ - Features
- Apache ActiveMQ - Running Broker Server
- Apache ActiveMQ - Admin Console
Apache ActiveMQ Queue Based Example
- Apache ActiveMQ - Producer Application
- Apache ActiveMQ - Consumer Application
- Apache ActiveMQ - Test Application
Apache ActiveMQ Topic Based Example
- Apache ActiveMQ - Publisher Application
- Apache ActiveMQ - Subscriber Application
- Apache ActiveMQ - Test Application
Apache ActiveMQ Useful Resources
Apache ActiveMQ - Running Broker Server
We've downloaded the latest version of ActiveMQ as mentioned in ActiveMQ - Environment Setup. Now go to the folder D:/apache-activemq-6.1.7/bin and type the following command.
Example
D:\apache-activemq-6.1.7\bin>activemq start
Output
You'll see the similar output and ActiveMQ will start running.
Java Runtime: Oracle Corporation 19.0.2 C:\Program Files\Java\jdk-19 Heap sizes: current=1048576k free=1039360k max=1048576k JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=D:\apache-activemq-6.1.7\bin\..\conf\login.config -Dactivemq.classpath=D:\apache-activemq-6.1.7\bin\..\conf;D:\apache-activemq-6.1.7\bin\../conf;D:\apache-activemq-6.1.7\bin\../conf; -Dactivemq.home=D:\apache-activemq-6.1.7\bin\.. -Dactivemq.base=D:\apache-activemq-6.1.7\bin\.. -Dactivemq.conf=D:\apache-activemq-6.1.7\bin\..\conf -Dactivemq.data=D:\apache-activemq-6.1.7\bin\..\data -Djolokia.conf=file:D:\\apache-activemq-6.1.7\\bin\\..\\conf\\jolokia-access.xml -Djava.io.tmpdir=D:\apache-activemq-6.1.7\bin\..\data\tmp Extensions classpath: [D:\apache-activemq-6.1.7\bin\..\lib,D:\apache-activemq-6.1.7\bin\..\lib\camel,D:\apache-activemq-6.1.7\bin\..\lib\optional,D:\apache-activemq-6.1.7\bin\..\lib\web,D:\apache-activemq-6.1.7\bin\..\lib\extra] ACTIVEMQ_HOME: D:\apache-activemq-6.1.7\bin\.. ACTIVEMQ_BASE: D:\apache-activemq-6.1.7\bin\.. ACTIVEMQ_CONF: D:\apache-activemq-6.1.7\bin\..\conf ACTIVEMQ_DATA: D:\apache-activemq-6.1.7\bin\..\data Loading message broker from: xbean:activemq.xml INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[D:\apache-activemq-6.1.7\bin\..\data\kahadb] INFO | Starting Persistence Adapter: KahaDBPersistenceAdapter[D:\apache-activemq-6.1.7\bin\..\data\kahadb] INFO | Starting KahaDBStore INFO | Opening MessageDatabase INFO | Page File: D:\apache-activemq-6.1.7\bin\..\data\kahadb\db.data. Recovering pageFile free list due to prior unclean shutdown.. INFO | KahaDB is version 7 INFO | Page File: D:\apache-activemq-6.1.7\bin\..\data\kahadb\db.data. Recovered pageFile free list of size: 0 INFO | Starting Temp Data Store INFO | PListStore:[D:\apache-activemq-6.1.7\bin\..\data\localhost\tmp_storage] started INFO | Starting Job Scheduler Store INFO | Persistence Adapter successfully started INFO | Apache ActiveMQ 6.1.7 (localhost, ID:Home-55627-1754044777586-0:1) is starting INFO | Listening for connections at: tcp://Home:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector openwire started INFO | Listening for connections at: amqp://Home:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector amqp started INFO | Listening for connections at: stomp://Home:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector stomp started INFO | Listening for connections at: mqtt://Home:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector mqtt started INFO | Starting Jetty server INFO | Creating Jetty connector WARN | ServletContext@o.e.j.s.ServletContextHandler@1a1f5f71{/,null,STARTING} has uncovered HTTP methods for the following paths: [/] INFO | Listening for connections at ws://Home:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector ws started INFO | Apache ActiveMQ 6.1.7 (localhost, ID:Home-55627-1754044777586-0:1) started INFO | For help or more information please see: http://activemq.apache.org INFO | ActiveMQ WebConsole available at http://127.0.0.1:8161/ INFO | ActiveMQ Jolokia REST API available at http://127.0.0.1:8161/api/jolokia/
Verification
Now open http://127.0.0.1:8161/admin/ in your browser. It will ask for credentials. Use admin/admin as username/password and it will load the ActiveMQ admin console where you can check Queues, Topics, Connections etc.

Advertisements