1 Reply Latest reply on Feb 20, 2003 3:25 PM by keith

    receiveNoWait() returns null

    keith Newbie


      I am working on a prototype servlet whereby I can send a message to a queue via an http request, and then recieve the message via a separate request. Using a QueueBrowser object, I can determine that there are messages in the queue. However, calling the receiveNoWait() method on my QueueReceiver object returns null (I have also tried receive() and receive(n). I'm new at working with JMS, but have been unable to turn up an explanation in my research. Any assistance would be greatly appreciated.

      Keith R. Alperin