Hi, the receiveNoWait means it doesn't wait until a message is received. You can't
expect it will get something every time you called it. If you can get a message by
receive(2000), try to replace it with sleeping 2000 ms and call receiveNoWait(). I bet you
will get the messages.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203835#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...