[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: new QueueBrowser implementation

ataylor do-not-reply at jboss.com
Fri Oct 10 10:50:05 EDT 2008


anonymous wrote : My point was, that if you are on message 5, and message gets removed from the head which is the 99% case, then it shouldn't affect you. There is no need to go anywhere. 

If you remove a message from the head then next time you call next() on the iterator it will fail. you would then need to recreate the iterator and traverse back to the correct point. 



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

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



More information about the jboss-dev-forums mailing list