Back Forum Reply New

Redelivery and head of line blocking

So this wasn't obvious to me, but if you have a message fail and you are using jms transactions to they get delivered (with AMQ), then until that message is successfully delivered all messages behind it are stuck waiting.  This actually turns out to be very detrimental for me with a queue full of email waiting to go out. I recently had one that would not be accepted by the mail server due to something wrong with the address, and it blocked all the others behind it that should have gone out.  

Is there some way to change the way it works so that messages that need to be re-delivered get sent to the rear of the queue? In this case in-order delivery is meaningless to me.

Thanks-
¥
Back Forum Reply New