This article shows how to check whether an ActiveMQ queue cursor has space using the REST API.
Read Queue Cursor Size
GET /activemq/queues/{nodeName}/{managerName}/{brokerName}/{queueName}/cursor-have-space
Read queue cursor size.
Example Request
curl -X 'GET' \ 'http://<hostname>:8019/rest/v1/activemq/queues/CMACTIVEMQ/Activemq-server/DemoBroker/AABBCC/cursor-have-space' \ -H 'accept: application/json' \ -H 'Authorization: Basic QWRtaW46YWRtaW4='
Query Parameters
| Parameter | Type | Description |
validateAccessForUser |
string | Validate access for user. |
Response Codes
200– Returns matching object.*– Error response.
Example Response
200 – Returns matching object.
{
"status": true
}