activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stirlingc <>
Subject Re: Purged messages still appear in JMX browseAsTable
Date Thu, 17 Dec 2009 19:54:28 GMT

Just a quick followup, I looked into
to see where the supposedly deleted messages were coming from and they're
being picked up from the "pagedInPendingDispatch" list during doBrowse(...):

    // Messages that are paged in but have not yet been targeted at a
    private List<QueueMessageReference> pagedInPendingDispatch = new

public void doBrowse(boolean forcePageIn, List<Message> l, int max) {
        final ConnectionContext connectionContext =
        try {
            List<MessageReference> toExpire = new
            synchronized(dispatchMutex) {
                synchronized (pagedInPendingDispatch) {
-->                    addAll(pagedInPendingDispatch, l, max, toExpire);

This list does not get modified during deletion of a message, so is caching
a copy of the deleted messages.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message