Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Akka Cookbook

You're reading from   Akka Cookbook Recipes for concurrent, fast, and reactive applications

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781785288180
Length 414 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Vivek Mishra Vivek Mishra
Author Profile Icon Vivek Mishra
Vivek Mishra
Piyush Mishra Piyush Mishra
Author Profile Icon Piyush Mishra
Piyush Mishra
Héctor Veiga Ortiz Héctor Veiga Ortiz
Author Profile Icon Héctor Veiga Ortiz
Héctor Veiga Ortiz
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Diving into Akka FREE CHAPTER 2. Supervision and Monitoring 3. Routing Messages 4. Using Futures and Agents 5. Scheduling Actors and Other Utilities 6. Akka Persistence 7. Remoting and Akka Clustering 8. Akka Streams 9. Akka HTTP 10. Understanding Various Akka patterns 11. Microservices with Lagom

Processing RabbitMQ messages with Akka streams


Messaging brokers have become the central piece of many distributed and real-time systems. RabbitMQ is one of most commonly used brokers nowadays. It is an open source Advanced Message Queuing Protocol (AMQP) and Message Queue Telemetry Transport (MQTT) broker that provides a clustered high-availability solution to decouple applications using the publisher-subscriber pattern.

In this recipe, we will see how to consume AMQP messages from a RabbitMQ queue into your stream. Once consumed, we will transform the message and publish it back to RabbitMQ. To achieve this, we are going to use the AMQP module from Alpakka. Alpakka is a community-driven repository that provides useful Akka Streams stages for the most common protocols and formats. For example, there are connectors for Amazon S3, Amazon SQS, JMS, Cassandra, and many others.

Note

To check all the available Alpakka modules, visit their GitHub repository at https://github.com/akka/alpakka.

Getting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image