1 Reply Latest reply on Aug 6, 2009 8:49 AM by jaikiran pai

    Max Delivery Attempts ignored on Jboss 5.1 queue?

    Dejan Mratinkovic Newbie

      I have already started this topic on JBoss messaging, but I was suggested to move it to another forum, so that I moved it here.

      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?