[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - receiveNoWait vs. receive(1L)

sergeypk do-not-reply at jboss.com
Mon May 21 04:03:44 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047127#4047127

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047127



More information about the jboss-dev-forums mailing list