if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); }
if (trace) { log.trace(this + ": getting message from reference " + ref); }
   public Message getMessage()   {      if (log.isTraceEnabled()) { log.trace(this + ": getting message from reference " + ref); }            try      {                  Message m = (Message)ref.get();            if (m == null)         {            m = ms.retrieveMessage((String)messageID);                        ref = new WeakReference(m);         }         return m;      }      catch (Exception e)      {         log.error("Failed to getMessage", e);         //FIXME - should not swallow exceptions like this         return null;      }   }