public javax.jms.Message getMessageNow() throws JMSException
public javax.jms.Message getMessageNow(boolean wait) throws JMSException
   public javax.jms.Message getMessageNow() throws JMSException   {        synchronized (channel)      {          try         {                                  grabbing = true;                        //This will always deliver a message (if there is one) on the same thread            promptDelivery();                        javax.jms.Message ret = (javax.jms.Message)toGrab;                        return ret;                     }         finally         {            toGrab = null;            grabbing = false;         }       }   }