Consumer con = Consumer.getConsumer(tmpcid);
if (con == null) {
throw new BrokerException(rb.getString(rb.X_JMX_CONSUMER_NOT_FOUND, consumerID));
}
con.load(); // triggers the broker to load messages if necessary
cid = con.getConsumerUID();
if (cid == null) {
throw new BrokerException(rb.getString(rb.X_JMX_CONSUMER_NOT_FOUND, consumerID));