res.getBrokerList().get(i).setTotalmessagesrecieved(rs.getLong(3)); res.getBrokerList().get(i).setTotalactiveconsumers(rs.getLong(4)); res.getBrokerList().get(i).setTotalqueuedepth(rs.getLong(5)); res.getBrokerList().get(i).setTotalmessagesdropped(rs.getLong(6)); res.getBrokerList().get(i).setTotalbytesdropped(rs.getLong(7));