<div>
            <div>
                <span>Here's the data, only slightly prettified:<div><br></div><div><br></div><div><br></div><div><div>[{"memory":7512,</div><div>"messages":0,</div><div>"consumer_details":[],</div><div>"idle_since":"2011-6-2 10:11:16",</div><div>"exclusive_consumer_pid":"",</div><div>"exclusive_consumer_tag":"",</div><div>"messages_ready":0,</div><div>"messages_unacknowledged":0,</div><div>"messages":0,</div><div>"consumers":0,</div><div>"backing_queue_status":{"q1":0,"q2":0,"delta":["delta","undefined",0,"undefined"],"q3":0,"q4":0,"len":0,"pending_acks":0,"outstanding_txns":0,"target_ram_count":"infinity","ram_msg_count":0,"ram_ack_count":0,"ram_index_count":0,"next_seq_id":8,"persistent_count":0,"avg_ingress_rate":0.0052629918611936,"avg_egress_rate":0.0052629918611936,"avg_ack_ingress_rate":0.0,"avg_ack_egress_rate":0.0},</div><div>"name":"aliveness-test",</div><div>"vhost":"/",</div><div>"durable":false,</div><div>"auto_delete":false,</div><div>"owner_pid":"none",</div><div>"arguments":{},</div><div>"pid":"&lt;rabbit@newhotness.3.461.0&gt;",</div><div>"node":"rabbit@newhotness"},&nbsp;</div><div><br></div><div>{"memory":14664,</div><div>"messages":1,</div><div>"consumer_details":[],</div><div>"idle_since":"2011-6-2 10:19:11",</div><div>"exclusive_consumer_pid":"",</div><div>"exclusive_consumer_tag":"",</div><div>"messages_ready":1,</div><div>"messages_unacknowledged":0,</div><div>"messages":1,</div><div>"consumers":0,</div><div>"backing_queue_status":{"q1":0,"q2":0,"delta":["delta","undefined",0,"undefined"],"q3":0,"q4":1,"len":1,"pending_acks":0,"outstanding_txns":0,"target_ram_count":"infinity","ram_msg_count":1,"ram_ack_count":0,"ram_index_count":0,"next_seq_id":1,"persistent_count":1,"avg_ingress_rate":0.0003672439900472369,"avg_egress_rate":0.0,"avg_ack_ingress_rate":0.0,"avg_ack_egress_rate":0.0},</div><div>"name":"testq",</div><div>"vhost":"/",</div><div>"durable":true,</div><div>"auto_delete":false,</div><div>"owner_pid":"none",</div><div>"arguments":{},</div><div>"pid":"&lt;rabbit@newhotness.3.233.0&gt;",</div><div>"node":"rabbit@newhotness"},</div><div><br></div><div>{"memory":12256,</div><div>"messages":0,</div><div>"consumer_details":[],</div><div>"idle_since":"2011-6-2 9:33:46",</div><div>"exclusive_consumer_pid":"",</div><div>"exclusive_consumer_tag":"",</div><div>"messages_ready":0,</div><div>"messages_unacknowledged":0,</div><div>"messages":0,</div><div>"consumers":0,</div><div>"backing_queue_status":{"q1":0,"q2":0,"delta":["delta","undefined",0,"undefined"],"q3":0,"q4":0,"len":0,"pending_acks":0,"outstanding_txns":0,"target_ram_count":"infinity","ram_msg_count":0,"ram_ack_count":0,"ram_index_count":0,"next_seq_id":0,"persistent_count":0,"avg_ingress_rate":0.0,"avg_egress_rate":0.0,"avg_ack_ingress_rate":0.0,"avg_ack_egress_rate":0.0},</div><div>"name":"test123",</div><div>"vhost":"testvhost",</div><div>"durable":true,</div><div>"auto_delete":false,</div><div>"owner_pid":"none",</div><div>"arguments":{},</div><div>"pid":"&lt;rabbit@newhotness.3.232.0&gt;",</div><div>"node":"rabbit@newhotness"}]</div><div><br></div></div></span>
                <span><br>--&nbsp;<br>Brian K. Jones<br>Sent over the internet<div>My blog: http://www.protocolostomy.com</div><div>Follow me: http://twitter.com/bkjones</div><br></span>
                
                <p style="color: #a0a0a0;">On Thursday, June 2, 2011 at 10:21 AM, Brian K. Jones wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>
            <div><span>Hi all,&nbsp;</span></div><div><span><br></span></div><div><span>I'm running RabbitMQ w/ the mgmt plugin and I discovered while using the HTTP API that when I ask for /api/queues, the JSON response is a list of JSON objects that each have *two* instances of the "messages" attribute. Is this a bug? If so, is it fixed somewhere already? Is there any reason for the code I'm writing not to throw away the duplicate? I did a quick test and published a message that went to one of the queues, and confirmed that both instances of "messages" has the same value whether there are messages in the queue or not.&nbsp;</span></div><div><span><br></span></div><div><span>I'm using v. 2.4.1 on a mac, if it helps. :)&nbsp;</span></div><div><span><br></span></div><div><span>brian<br>
                </span>
                <span><br>--&nbsp;<br>Brian K. Jones<br>Sent over the internet<div>My blog: <a href="http://www.protocolostomy.com">http://www.protocolostomy.com</a></div><div>Follow me: <a href="http://twitter.com/bkjones">http://twitter.com/bkjones</a></div><br></span>
            </div>
        </div></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>