Appendix D. Installing and Configuring ActiveMQ

ActiveMQ is an enterprise-level open source messaging provider that supports JMS (as well as numerous native API’s), making it a popular choice among messaging providers. It provides JMS clients with heterogeneous integration to a number of other platforms, including C++, C, C#, and Ruby (to name a few).

Although you can use any JMS provider that supports JNDI and JMS 1.1 to run the examples in this book, in this appendix we have provided the setup and configuration for using ActiveMQ. All of the code examples in the book can be run by using ActiveMQ “straight out of the box,” with some minimal configuration changes. The following sections detail the configuration needed to run the examples using ActiveMQ version 5.2.0.

Installing ActiveMQ

The examples in this book use the basic out-of-the-box installation of ActiveMQ version 5.2.0. You can download ActiveMQ from the website at http://activemq.apache.org. Once downloaded, simply unzip or untar the compressed file.

Get Java Message Service, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.