I searched a lot but couldn't found any description on properties of responses that are being sent by REST API (http://dev.iron.io/mq/reference/api/#responses) Almost all properties of responses are self explanatory but some properties needs to be described. Let me mention some of them;
- In response of
GET /projects/{Project ID}/queues/{Queue Name}/messages/{Message ID}/subscribersrequest, what is property ID? (this is not message ID as I have checked it. In case of uni-cast push queue it is the same number as message_id+1) - In response of
GET /projects/{Project ID}/queues/{Queue Name}/messages/{Message ID}request, what is property reserved_count? - In response of
GET /projects/{Project ID}/queues/{Queue Name}request, what is property size? (It looks to be queue size from its value but again what is queue size? Queue Size on my Dashboard always displays zero) - As per my understanding if a message is retrying 2nd or 3rd time its
retries_remainingshould be equal toretries_total - number of retries attempts. But this is not case. Every time I have seen thatretries_remainingis not changing. What are the cases in whichretries_remainingwill change? - After the message is tried
retries_totalnumber of times, messagestatusshould be changed toerrorbut it remainsretrying. why? - Is there any log of message routing? means, if a message is first
send to subscriber 1 but not received
200in response. The same message will be then send to other subscriber say subscriber 2.
GET /projects/{Project ID}/queues/{Queue Name}/messages/{Message ID}/subscribersrequest, the property ID is the subscriber IDGET /projects/{Project ID}/queues/{Queue Name}/messages/{Message ID}request, the propertyreserved_countshows how many times the message have been reserved. After reservation if the timeout had been expired, the message would be placed back onto queue and the reserved_count would be increased.push queues(in contrast topull queues) the messages are not stored in the queue. That's why the size of anypush queueis always zero.retries_totalnumber of times the message status always changes toerror. I think you had checked the status before the message was triedretries_totalnumber of times. There is also theretries_delaybetween retries, default value is 60 seconds.errorqueue. It is the name of another queue where information about messages that can't be delivered after retrying retries number of times will be placed. For detailed information navigate to http://dev.iron.io/mq/reference/push_queues/#error_queues