this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms);  for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); ) { String name = (String)i.next(); putHeader(name, m.getHeader(name)); }  ref = new WeakReference(m);
if (log.isTraceEnabled()) { log.trace("Creating using default constructor"); }
   public WeakMessageReference(Message m, InMemoryMessageStore ms)   {      this(m.getMessageID(), m.isReliable(), m.getExpiration(), m.getTimestamp(), m.getHeaders(), m.isRedelivered(), m.getPriority(), ms);      for(Iterator i = m.getHeaderNames().iterator(); i.hasNext(); )      {         String name = (String)i.next();         putHeader(name, m.getHeader(name));      }      ref = new WeakReference(m);   }