Chapter 12. Advanced client options


This chapter covers
  • How to use exclusive consumers
  • The power of message groups
  • Understanding support for streams and blobs
  • The failover transport
  • Scheduling message delivery


In the last chapter we covered advanced ActiveMQ broker features. In this chapter we’re going to look at some advanced features on the client side of ActiveMQ. We’ll look at how to ensure that one message consumer will receive messages from a queue, regardless of how many message consumers have subscribed to it. This feature is called exclusive consumer, and can be used for ensuring that messages are always consumed in order, or as a distributed locking mechanism—for which we have an example. We’ll look at message groups, where ...

Get ActiveMQ in Action 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.