HumusAMQP’s Documentation¶
Documentation for HumusAMQP
Overview¶
PHP 7 AMQP libray supporting multiple drivers and providing full-featured Consumer, Producer, and JSON-RPC Client / Server implementations.
The JSON-RPC part implements JSON-RPC 2.0 Specification.
Current supported drivers are: php-amqp and PhpAmqpLib.
This library ships with container-interop factories that help you setting up everything.
Contents¶
- Guides overview
- Getting Started with HumusAmqp and RabbitMQ
- Connecting to RabbitMQ with HumusAmqp
- Exchanges
- Exchanges in AMQP 0.9.1 — Overview
- Exchange types
- Message attributes
- Declaring an exchange
- Using configuration and factory
- Fanout exchanges
- Direct exchanges
- Topic Exchanges
- Publishing messages
- Headers exchanges
- Custom Exchange Types
- Using the Publisher Confirms Extension
- Binding Queues to Exchanges
- Unbinding Queues from Exchanges
- Deleting Exchanges
- Exchange durability vs Message durability
- Wrapping Up
- What to Read Next
- Tell Us What You Think!
- HumusAmqp Producers
- Queues
- Queues in AMQP 0.9.1: Overview
- Queue Names and Declaring Queues
- Queue Life-cycle Patterns
- Declaring a Durable Shared Queue
- Declaring a Temporary Exclusive Queue
- Checking if a Queue Exists
- Binding Queues with Routing Keys
- Unbinding Queues From Exchanges
- Purging queues
- Deleting Queues
- Queue Durability vs Message Durability
- RabbitMQ Extensions Related to Queues
- Wrapping Up
- What to Read Next
- Tell Us What You Think!
- Bindings
- Consumers
- Consumer Callbacks
- Handling Messages in Batches
- Message Acknowledgements & Rejecting
- Logging
- Error-Handling
- QoS — Prefetching messages
- Timeouts
- Set up the consumer
- Set up the consumer using config and factory
- Using Multiple Consumers Per Queue
- Starting a consumer from CLI
- Killing a Consumer gracefully
- What to Read Next
- Tell Us What You Think!
- Running from CLI
- Durability
- JSON RPC Server & Client
- RabbitMQ Extensions
- Error Handling
- Troubleshooting
- Deployment Strategies
- License Information