[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues
do-not-reply at jboss.com
Tue Mar 11 08:07:57 EDT 2008
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#4135584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135584
More information about the jboss-user