return (MessageReference)messageRefs.peekFirst();
MessageReference ref = (MessageReference)messageRefs.peekFirst();  return ref;
   public MessageReference peekFirst() throws Throwable   {            synchronized (refLock)      {         return (MessageReference)messageRefs.peekFirst();      }   }