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

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

An MDB is a consumer of messages.

Consumers buffer messages locally (default size = 200 if I remember rightly - see userguide for details).

So if you create a consumer and there are say 1000 messages on the queue, then the first 200 messages will be taken off the queue and buffered in the consumer.

Therefore you won't see them when you browse - since they're no longer on the queue.

If you have < 200 messages then you won't see any until you close the consumer (or the MDB).

This is expected behaviour.

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

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

More information about the jboss-user mailing list