setRefValue("altExchange", _alternateExchange);
}
}
// Statistics
Statistics stats = _queue.getStatistics();
setValue("msgTotalEnqueues", stats.getStatistic("totalEnqueuedMessages"));
setValue("msgTotalDequeues", stats.getStatistic("totalDequeuedMessages"));
// msgTxnEnqueues not implemented in Qpid 0.20
// msgTxnDequeues not implemented in Qpid 0.20
setValue("msgPersistEnqueues", stats.getStatistic("persistentEnqueuedMessages"));
setValue("msgPersistDequeues", stats.getStatistic("persistentDequeuedMessages"));
setValue("msgDepth", stats.getStatistic("queueDepthMessages"));
setValue("byteDepth", stats.getStatistic("queueDepthBytes"));
setValue("byteTotalEnqueues", stats.getStatistic("totalEnqueuedBytes"));
setValue("byteTotalDequeues", stats.getStatistic("totalDequeuedBytes"));
// byteTxnEnqueues not implemented in Qpid 0.20
// byteTxnDequeues not implemented in Qpid 0.20
setValue("bytePersistEnqueues", stats.getStatistic("persistentEnqueuedBytes"));
setValue("bytePersistDequeues", stats.getStatistic("persistentDequeuedBytes"));
// Flow-to-disk Statistics not implemented in Qpid 0.20
// releases & acquires not implemented in Qpid 0.20
// discardsTtl (discardsTtlMessages) not implemented in Qpid 0.20
// discardsRing not implemented in Qpid 0.20
// discardsLvq not implemented in Qpid 0.20
// discardsOverflow not implemented in Qpid 0.20
// discardsSubscriber not implemented in Qpid 0.20
// discardsPurge not implemented in Qpid 0.20
// reroutes not implemented in Qpid 0.20
setValue("consumerCount", stats.getStatistic("consumerCount"));
setValue("bindingCount", stats.getStatistic("bindingCount"));
setValue("unackedMessages", stats.getStatistic("unacknowledgedMessages"));
setValue("messageLatency", "Not yet implemented");
// flowStopped not implemented in Qpid 0.20
// flowStoppedCount not implemented in Qpid 0.20