From all of the documentation for JBM 1.4 (integrated into JBoss 5.1.0) it appears that for both:
- MaxDeliveryAttempts - the number of times a message will be delivered to an MDB before being pushed to the DLQ
- DeliveryDelay - the delay between subsequent redeliveries of the message to an MDB
these values can ONLY be configured on a per destination basis (ie per Queue or Topic) and not per message.
Is this true? I could swear the when I used JBoss MQ that you could set it in the message.
Can someone please confirm?
Yes, that's true. I don't know how JBoss MQ does this but in JBM 1.x, those are destination scope configures.