// http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html
if (interactive) {
log.info("Hit a key to get '" + queryOid + "' maxEntries=" + queryMaxEntries + " timeout=" + queryTimeout + " consumable=" + queryConsumable);
try { System.in.read(); } catch(java.io.IOException e) {}
}
msgs = con.receive(queryOid, queryMaxEntries, queryTimeout, queryConsumable);
}
else {
GetKey gk = (oid.length() > 0) ? new GetKey(glob, oid) : new GetKey(glob, xpath, Constants.XPATH);
if (domain != null) gk.setDomain(domain);
GetQos gq = new GetQos(glob);