O'Reilly logo

ActiveMQ in Action by Rob Davies, Dejan Bosanac, Bruce Snyder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. ActiveMQ message storage

 

This chapter covers
  • How messages are stored in ActiveMQ for both queues and topics
  • The four styles of message stores provided with ActiveMQ
  • How ActiveMQ caches messages for consumers
  • How to control message caching using subscription recovery policies

 

The JMS specification supports two types of message delivery: persistent and nonpersistent. A message delivered with the persistent delivery property must be logged to stable storage. For nonpersistent messages, a JMS provider must make best efforts to deliver the message, but it won’t be logged to stable storage.

ActiveMQ supports both of these types of message delivery and can also be configured to support message recovery, an in-between state where ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required