One thing that strikes me: You say you're using consumer.receive(1000) to receive
messages from the queue.
Are you saying you are polling in a loop? Any reason you don't use a MessageListener?
What happens if the call to receive(1000) returns with null - this is perfectly possible
even if there are messages in the queue - e.g. if there was some big GC which prevented
messages getting from server to client buffer in less than one second.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135584#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...