262263264265266267268269270271272
for (MessageReference ref2 : list) { queue = ref2.getQueue(); queue.cancel(ref2); } } public void stop() throws Exception
265266267268269270271272273274275
{ refqueue = ref2.getQueue(); try { refqueue.cancel(ref2, timeBase); } catch (Exception e) { // There isn't much we can do besides log an error log.error("Couldn't cancel reference " + ref2, e);