Now implemented in TRUNK.
This is pretty much a port of the funtionality from JBossMQ with a few improvements, e.g. the counter now samples the queues at intervals to avoid
a bottleneck which would occur if they were updated every time a message was added