Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
RabbitMQ Essentials
Table of Contents
RabbitMQ Essentials
Credits
Foreword
About the Author
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. A Rabbit Springs to Life
What is messaging?
A loosely coupled architecture
Meet AMQP
The RabbitMQ broker
A case for RabbitMQ
Getting RabbitMQ ready
Installing the broker
Installing the management plugin
Configuring users
Summary
2. Creating an Application Inbox
Connecting to RabbitMQ
Working with channels
Building the inbox
Sending user messages
AMQP message structure
Fetching user messages
Seeing it run
Adding topic messages
Summary
3. Switching to Server-push
Moving beyond polling
Consuming queues
Creating a consumer subscription wrapper
Babysitting subscriptions
Tying into the WebSocket endpoint
Running the application
Publishing to all queues
Binding to the fanout
Publishing to all
Running the application
Summary
4. Handling Application Logs
Publishing and consuming logs
Load testing AMQP
Running a load test
Prefetching messages
Messaging serendipity
Summary
5. Tweaking Message Delivery
Handling dead letters
Refactoring queues
Undertaking messages
Making delivery mandatory
Implementing the back-office sender
Summary
6. Smart Message Routing
Service-oriented messaging
Replying to queues
Routing service requests
Exposing the authentication service
Calling the authentication service
Summary
7. Taking RabbitMQ to Production
Tackling the broker SPOF
Mirroring queues
Connecting to the cluster
Federating brokers
Monitoring the broker
Summary
8. Testing and Tracing Applications
Testing RabbitMQ applications
Unit testing RabbitMQ applications
Integration testing RabbitMQ applications
Tracing RabbitMQ
Drinking at the Firehose
Summary
A. Message Schemas
User message
Authentication messages
Login
Request
Response
Logout
Request
Response
Generic error message
Index
← Prev
Back
Next →
← Prev
Back
Next →