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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...