[jboss-user] [EJB 3.0] - Max Delivery Attempts ignored on Jboss 5.1 queue?

dejanmr do-not-reply at jboss.com
Thu Aug 6 04:54:08 EDT 2009


I have posted this message already on JBoss Messaging forum, but they suggested to change forum. Guess EJB3 people might help. They suggested this should work fine and that this is MDB issue.

I have very simple queue. Both producer an consumers are EJB3 (Stateless session and MDB)

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>	

Works 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=4248372#4248372

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



More information about the jboss-user mailing list