Is there a way (using JBoss 4.0.5) to ascertain that all messages from a destination have been processed. Inspecting destination depth via org.jboss.mq.MessageStatistics or org.jboss.mq.server.MessageCounter does not do. It seems that depth becomes zero, after the last message is dispatched (so it has non yet been handled by its subscribers).
Thanks
Florian
QueueDepth + InProcessMessageCount == total messages not yet handled