[jboss-user] [JBoss Messaging] - Max Delivery Attempts ignored on Jboss 5.1 queue?

dejanmr do-not-reply at jboss.com
Wed Aug 5 11:10:14 EDT 2009

I have very simple queue.

I have set attribute:
<attribute name="MaxDeliveryAttempts">13</attribute>   

in *-service.xml file. Value is visible form JBoss AS Administration console, configuration view of a queue (Max Delivery Attempts).

But, when message delivering files (Ejb3 MDB), after only 5 (not 13 as expected), I got message:
WARN  [AbstractDLQHandler] Message redelivered=6 max=5 sending it to the dlq delegator->JBossMessage[20471539334316035]:PERSISTENT, deliveryId=25

Afterward, message is moved to DLQ as expected.

It is not even 10, which is expected default value.
Some other attributes, like

<attribute name="RedeliveryDelay">17000</attribute>

Work as expected (delay between two attempts to deliver message is 17 seconds).

Is this me doing something wrong, or JBoss is ignoring this parameter?

How to set it up?

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

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

More information about the jboss-user mailing list