Book Image

Mastering Spring Application Development

By : Anjana Mankale
Book Image

Mastering Spring Application Development

By: Anjana Mankale

Overview of this book

Table of Contents (19 chapters)
Mastering Spring Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Apache ActiveMQ


Apache ActiveMQ has many features that have made it a choice for messaging. The latest release is 5.10. The advantages of using ActiveMQ are as follows:

  • It supports REST API

  • It supports CXF Web services

  • It supports AJAX implementations

  • It provides complete support to the Spring framework

  • It works with all the major application servers, such as JBoss, Tomcat, Weblogic and Glassfish servers

Setting up ApacheMQ for point-to-point messaging

The following are the steps for setting up ApacheMQ:

  1. Download the latest Apache ActiveMQ.zip from http://activemq.apache.org/download.html.

  2. Unzip the ZIP file to E:\apachemq\.

  3. In the Command Prompt, go to the location E:\apachemq\apache-activemq-5.10-SNAPSHOT\bin\win32 and then click on apachemq.bat to start Apache ActiveMQ.

  4. Apache ActiveMQ will run on Jetty Server and is hence accessible through a URL.

  5. Click on the link http://localhost:8161/admin/index.jsp.

  6. The first time you do this, you will be asked for credentials; enter admin/admin.

  7. In the console...