Apache ActiveMQ Tutorial
Apache ActiveMQ Useful Resources
Selected Reading
- Apache ActiveMQ - Test Application
- Apache ActiveMQ - Subscriber Application
- Apache ActiveMQ - Publisher Application
- Apache ActiveMQ - Test Application
- Apache ActiveMQ - Consumer Application
- Apache ActiveMQ - Producer Application
- Apache ActiveMQ - Admin Console
- Apache ActiveMQ - Running Broker Server
- Apache ActiveMQ - Features
- Apache ActiveMQ - Environment Setup
- Apache ActiveMQ - Overview
- Apache ActiveMQ - Home
Apache ActiveMQ Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Apache ActiveMQ - Running Broker Server
Apache ActiveMQ - Running Broker Server
We ve downloaded the latest version of ActiveMQ as mentioned in
. Now go to the folder F:/ → Apache → apache-activemq-5.16.4/bin and type the following command.Example
F:Apacheapache-activemq-5.16.4in>activemq start
Output
You ll see the similar output and ActiveMQ will start running.
Java Runtime: Oracle Corporation 11.0.11 C:Program FilesJavajdk-11.0.11 Heap sizes: current=1048576k free=1041918k max=1048576k JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=F:Apacheapache-activemq-5.16.4in..conflogin.config -Dactivemq.classpath=F:Apacheapache-activemq-5.16.4in..conf;F:Apacheapache-activemq-5.16.4in../conf;F:Apacheapache-activemq-5.16.4in../conf; -Dactivemq.home=F:Apacheapache-activemq-5.16.4in.. -Dactivemq.base=F:Apacheapache-activemq-5.16.4in.. -Dactivemq.conf=F:Apacheapache-activemq-5.16.4in..conf -Dactivemq.data=F:Apacheapache-activemq-5.16.4in..data -Djava.io.tmpdir=F:Apacheapache-activemq-5.16.4in..data mp Extensions classpath: [F:Apacheapache-activemq-5.16.4in..pb,F:Apacheapache-activemq-5.16.4in..pbcamel,F:Apacheapache-activemq-5.16.4in..pboptional,F:Apacheapache-activemq-5.16.4in..pbweb,F:Apacheapache-activemq-5.16.4in..pbextra] ACTIVEMQ_HOME: F:Apacheapache-activemq-5.16.4in.. ACTIVEMQ_BASE: F:Apacheapache-activemq-5.16.4in.. ACTIVEMQ_CONF: F:Apacheapache-activemq-5.16.4in..conf ACTIVEMQ_DATA: F:Apacheapache-activemq-5.16.4in..data Loading message broker from: xbean:activemq.xml INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@53fe15ff: startup date [Sat Feb 26 12:50:18 IST 2022]; root of context hierarchy INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[F:Apacheapache-activemq-5.16.4in..datakahadb] INFO | PListStore:[F:Apacheapache-activemq-5.16.4in..datalocalhost mp_storage] started INFO | Apache ActiveMQ 5.16.4 (localhost, ID:DESKTOP-86KD9FC-52669-1645860020983-0:1) is starting INFO | Listening for connections at: tcp://DESKTOP-86KD9FC:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector openwire started INFO | Listening for connections at: amqp://DESKTOP-86KD9FC:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector amqp started INFO | Listening for connections at: stomp://DESKTOP-86KD9FC:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector stomp started INFO | Listening for connections at: mqtt://DESKTOP-86KD9FC: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@4f966719{/,null,STARTING} has uncovered http methods for path: / INFO | Listening for connections at ws://DESKTOP-86KD9FC:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600 INFO | Connector ws started INFO | Apache ActiveMQ 5.16.4 (localhost, ID:DESKTOP-86KD9FC-52669-1645860020983-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