amqp.php¶
AMQP queue management module for storing, listing, and monitoring asynchronous jobs.
API Methods¶
| Method | Action | Description |
|---|---|---|
list | get list of jobs count | Returns the total number of jobs currently in the AMQP queue system. |
status | check queue status and trigger job | Triggers a status check for the specified queue by storing and sending a message. |
amqp/list¶
Returns the total number of jobs currently in the AMQP queue system.
HTTP method: GET
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: list |
| - | - | - | No other parameter |
amqp/status¶
Triggers a status check for the specified queue by storing and sending a message.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: status |
| queue | ✅ | string | Name of the queue to check status for. |
Request example