Channel channel = null;
try {
conn = factory.newConnection();
channel = conn.createChannel();
PurgeOk ok = channel.queuePurge(je.getQueue());
_logger.info("purged queue: " +je.getQueue() + " result: " + ok.toString() + " on " + je.getFetcherQConf().getHost() + "," + je.getFetcherQConf().getVhost());
return true;
} catch (IOException e) {
_logger.error(e, e);
} finally {
try {