4 Replies Latest reply on Aug 10, 2009 7:15 AM by Tyronne Wickramarathne

    Max Delivery Attempts ignored on Jboss 5.1 queue?

    Dejan Mratinkovic Newbie

      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?