RabbitMQ Cookbook
eBook - ePub

RabbitMQ Cookbook

Sigismondo Boschi, Gabriele Santomaggio

Share book
  1. 288 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

RabbitMQ Cookbook

Sigismondo Boschi, Gabriele Santomaggio

Book details
Book preview
Table of contents
Citations

About This Book

In Detail

RabbitMQ is an open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Messaging enables software applications to connect and scale. Applications can connect to each other as components of a larger application or to user devices and data.

RabbitMQ Cookbook touches on all the aspects of RabbitMQ messaging. You will learn how to use this enabling technology for the solution of highly scalable problems dictated by the dynamic requirements of Web and mobile architectures, based for example on cloud computing platforms. This is a practical guide with several examples that will help you to understand the usefulness and the power of RabbitMQ.

This book helps you learn the basic functionalities of RabbitMQ with simple examples which describe the use of RabbitMQ client APIs and how a RabbitMQ server works. You will find examples of RabbitMQ deployed in real-life use-cases, where its functionalities will be exploited combined with other technologies. This book helps you understand the advanced features of RabbitMQ that are useful for even the most demanding programmer. Over the course of the book, you will learn about the usage of basic AMQP functionalities and use RabbitMQ to let decoupled applications exchange messages as per enterprise integration applications. The same building blocks are used to implement the architecture of highly scalable applications like today's social networks, and they are presented in the book with some examples. You will also learn how to extend RabbitMQ functionalities by implementing Erlang plugins.

This book combines information with detailed examples coupled with screenshots and diagrams to help you create a messaging application with ease.

Approach

A practical book filled with advanced recipes as well as plenty of code and real-life examples which will make your learning curve quick and easy.

Who this book is for

If you are a software developer who wants to develop distributed applications based on messaging, then this book is for you. Its assumed that you have some experience with multithreading applications and distributed applications. You are also expected to know the basic concepts of Web and cloud applications in order to follow the recipes effectively.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is RabbitMQ Cookbook an online PDF/ePUB?
Yes, you can access RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio in PDF and/or ePUB format, as well as other popular books in Informatica & Informatica generale. We have over one million books available in our catalogue for you to explore.

Information

Year
2013
ISBN
9781849516501

RabbitMQ Cookbook


Table of Contents

RabbitMQ Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Working with AMQP
Introduction
Connecting to the broker
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Producing messages
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
How to check the RabbitMQ status
Checking whether a queue already exists
Consuming messages
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
More on consumer threads
Blocking semantics
See also
Using body serialization with JSON
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using RPC with messaging
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Using blocking RPC
Scalability notes
Broadcasting messages
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Working with message routing using direct exchanges
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Working with message routing using topic exchanges
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Guaranteeing message processing
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Distributing messages to many consumers
Getting ready
How to do itā€¦
How it works...
See alsoā€¦
Using message properties
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Messaging with transactions
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Handling unroutable messages
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
2. Going beyond the AMQP Standard
Introduction
How to let messages expire
Getting ready
How to do it...
How it works...
See also
How to let messages expire on specific queues
Getting ready
How to do it...
How it works...
There's more...
See also
How to let queues expire
Getting ready
How to do it...
How it works...
Managing rejected or expired messages
Getting ready
How to do it...
How it works...
There's more...
Understanding the alternate exchange extension
Getting ready
How to do it...
How it works...
There's more...
Understanding the validated user-ID extension
Getting ready
How to do it...
How it works...
See also
Notifying the consumers of queue failures
Getting ready
How to do it...
How it works...
There's more...
See also
Understanding the exchange-to-exchange extension
Getting ready
How to do it...
How it works...
Embedding message destinations within messages
Getting ready
How to do it....
How it works...
There's more...
3. Managing RabbitMQ
Introduction
Using vhosts
Getting ready
How to do itā€¦
How it worksā€¦
Configuring users
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
User tags for the management plugin
Using SSL
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Implementing client-side certificates
Getting ready
How to do itā€¦
How it worksā€¦
Managing RabbitMQ from a browser
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Configuring RabbitMQ parameters
How to do itā€¦
How it worksā€¦
There's moreā€¦
Developing Python applications to monitor RabbitMQ
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Developing your own web applications to monitor RabbitMQ
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
4. Mixing Different Technologies
Introduction
Using a .NET client
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Binding an app from iPhone to RabbitMQ via MQTT
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Using messaging to update Google Maps on Android
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Publishing messages from Android in the background
Getting readyā€¦
How to do itā€¦
How it worksā€¦
There's moreā€¦
Exchanging RabbitMQ messages with Qpid
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Exchanging RabbitMQ messages with Mosquitto
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
Binding a WCF application with .Net clients
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
See also
5. Using RabbitMQ in Web Applications
Introduction
Developing web monitoring applications with Spring
Getting ready
How to do itā€¦
How it worksā€¦
There's moreā€¦
Developing asynchronous web searches with Spring
Getting ready
How to d...

Table of contents