@Override public void interrupt() { try { jmsMgr.close(); } catch (MessagingException e) { fail(e.getMessage()); } finally { super.interrupt(); } }
@Override public void run() { try { jmsMgr.listen("fedora.apim.update", this); } catch (MessagingException e) { fail(e.getMessage()); } finally { listeningSignal.countDown(); } }