sess.close();  if (trace) { log.trace("Closed: " + this); }
if (trace) { log.trace("Closed: " + this); }
   public void close() throws javax.jms.JMSException   {      if (trace) { log.trace("close " + this); }            closed = true;            if (trace) { log.trace("Closed message handler"); }            internalThread.interrupt();                try      {         internalThread.join(3000);         if (internalThread.isAlive())         {            internalThread.interrupt();            internalThread.join();         }               }      catch (InterruptedException e)      {         if (trace)            log.trace("Ignoring interrupting while joining thread " + this);      }            sess.close();            if (trace) { log.trace("Closed: " + this); }         }