Description
Doing a send of 20 messages in batches of 10, and a browse in between via jconsole with policy entry useCache=false, the browse does not return 20 messages on the second call.
When a consumer does a browse, because there are some consumers in the mix, a page in occurs. Via jmx, there are no consumers b/c jmx goes direct to the queue via the mbean.
The problem is that the browse does not force a page in from disk. So if the messages are not cached they are not visible.
Ensuring that a browse does page in if the cache is disabled will sort this.