alice
alice copied to clipboard
Queues resource not returning a value
I have Alice and Wonderland both up and running, and I am noticing that all of the REST resources are working great with the exception of the queues resource.
Using curl:
root@sfqload01 /var/lib/rabbitmq
$ curl -i http://localhost:9999/queues
HTTP/1.1 200 OK Server: MochiWeb/1.0 (Any of you quaids got a smint?) Date: Wed, 17 Feb 2010 08:04:58 GMT Content-Type: text/json Content-Length: 13 {"queues":[]}
root@sfqload01 /var/lib/rabbitmq
So Wonderland obviously shows an empty page. But when i query rabbitmqctl directly I can see the output that I would like to see via
Alice:
root@sfqload01 /var/lib/rabbitmq $ rabbitmqctl list_queues -p /nanite memory name messages_unacknowledged messages Listing queues ... 6056 mapper-15e44eb68b0841a9098bac4fbad56a2d 0 0 9432 registration 0 0 6056 mapper-46f4166745cf57fe1b6e8d55885614ec 0 0 2915112 nanite-b 5 1476 1802424 nanite-a 6 1368 9432 request 0 0 9432 mapper-offline 0 0 19192 heartbeat 0 0 ...done. root@sfqload01 /var/lib/rabbitmq
I have the same problem. I have some queues in a vhost and don't get them via alice:
rabbitmqctl list_queues -p kugel-test Listing queues ... Q-Kunde1 1 Q-Kunde2 1 ...done.
curl http://localhost:9999/queues {"queues":[]}
The same is true for exchanges i created. The builtin exchanges are visible, but the self made exchange is not
Same as steverding. Interestingly, fetching the queues for one vhost returns the correct number of queues (3), but they're empty.
curl -i http://localhost:9999/queues/myvhost {"queues":[{},{},{}]}