[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Server-side browser refactoring
clebert.suconic@jboss.com
do-not-reply at jboss.com
Mon Jun 22 12:41:26 EDT 2009
In summary, your code don't know how to resume sending at all.
On the process of resuming send, you should also check if largeMessageDeliverer != null and resume sending a largeMessage.
If you provide some sort of QueueIterator implements Queue as I said you won't need to change a line on the ServerConsumer, what would be much easier to debug.
Writing the thread the way you did may look a shortcut (less code), but this promptDelivery thing was a hard thing to tune up. (I needed some time to get my head into it). If you avoid touching it would be better for you.
Just my 2 cents.. and my idea anyway.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239153#4239153
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239153
More information about the jboss-dev-forums
mailing list