Chapter 10. Message channels

In this chapter

  • Direct messaging with point-to-point channels
  • Flexible messaging with publish-subscribe channels
  • Publishing and subscribing to the EventBus
  • Reading undelivered messages using the dead-letter channel
  • Achieving a higher level of guaranteed delivery with the guaranteed-delivery channel
  • Guaranteeing delivery with the ReliableProxy

In this chapter we’ll take a closer look at the message channels that can be used to send messages from one actor to another. We’ll start with the two types of channels: point-to-point and publish-subscribe. Point-to-point is the channel we’ve used in all our examples until now, but sometimes we need a more flexible method to send messages to receivers. In the publish-subscribe ...

Get Akka in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.