Hello Team,
Issue:
in rabbitmq UI no of message count is 602 but same when i am trying to get through curl command it's showing same count of messages but there is no messages inside the queue.
i also tried to fetch message from rabbitmq gui and RMQ rest API but found no messages on the queue. attached screen shot for the same.
please help why this is happening ?
RMQ version: 3.6.12
No of message in ready state: 602 (as per UI)
No of messages as per curl: 602
message count API:
curl -i -u devops:******* -X GET http://******:15672/api/queues/growth/domain_q_prod_TransformerHMSEvent |sed 's/,/\n/g' | grep '"messages"' | sed 's/"messages"://g'
Get Message API:
trying to fetch message using curl:
curl -i -u devops:****** -H "content-type:application/json" -X POST http://******:15672/api/queues/growth/domain_q_prod_TransformerHMSEvent/get -d'{"count":100,"requeue":true,"encoding":"auto","truncate":50000}'
response:
HTTP/1.1 200 OK
server: Cowboy
date: Wed, 04 Jul 2018 04:26:08 GMT
content-length: 2
content-type: application/json
vary: accept, accept-encoding, origin
Cache-Control: no-cache
Content-Type: application/json
[]
![]()
Check out the latest episode of Treebo Comedy Trips - Travelling Solo in India --
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--