3 Replies Latest reply on May 21, 2007 7:16 AM by Tim Fox

    receiveNoWait vs. receive(1L)

    Sergey Koshcheyev Newbie

      In the clustered ejb test I'm working on, using MessageConsumer.receiveNoWait from the clustered EJB returns null even if there are messages waiting in the queue. If I change that to receive(1L), the consumer receives all the messages successfully. Is this a bug?