[jboss-user] [JBoss Messaging] - Re: clustered messages stuck on queues

timfox do-not-reply at jboss.com
Tue Mar 11 08:32:33 EDT 2008

That code doesn't look valid to me.

The call to receive(1000) could legitimately return null even thought there are messages in the queue. This would cause it to break out of the loop and process the batch.

Is this what you want?

You could just do the same code in a message listener surely?

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

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

More information about the jboss-user mailing list