[jboss-user] [JBoss Messaging] - Re: Viewing message contents in a queue

timfox do-not-reply at jboss.com
Tue May 29 16:49:20 EDT 2007

Theoretically it would be possible to browse over the union of the set of messages actually in the queue, and the set in the delivery state, but this would be fairly tricky to implement since they are scattered over the various server side consumers.

Also please be warned that setting prefetchsize to a very low value can have an adverse effect on performance.

Finally, bear in mind, that, according to the JMS spec, queue browsers are not required to give an accurate or static picture of the queue.

The moral of the story is never use queue browsers if you want an absolutely accurate picture of what's in a queue at any one time, especially if it's active.

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

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

More information about the jboss-user mailing list