1 Reply Latest reply on Mar 16, 2009 11:40 AM by Adrian Brock

    MaxTimesRedelivered does not work

    Marcelo Leite Newbie

      Hello there!

      I need to setup Max Redelivered Times to 20, so i edited standardjboss.xml and put this

      <MaxTimesRedelivered>20</MaxTimesRedelivered>


      But even with this configuration i get the warning bellow

      19:03:51,734 WARN [AbstractDLQHandler] Message redelivered=6 max=5 sending it to the dlq org.jboss.mq.SpyObjectMessage.


      I guess this configuration did not work, because the message was redelivered 6 times.

      My JBoss version is 4.2.2GA.


      Thanks in advance
      MLeite

        • 1. Re: MaxTimesRedelivered does not work
          Adrian Brock Master

           

          "mleite" wrote:
          Hello there!

          I need to setup Max Redelivered Times to 20, so i edited standardjboss.xml and put this
          <MaxTimesRedelivered>20</MaxTimesRedelivered>


          But even with this configuration i get the warning bellow

          19:03:51,734 WARN [AbstractDLQHandler] Message redelivered=6 max=5 sending it to the dlq org.jboss.mq.SpyObjectMessage.


          I guess this configuration did not work, because the message was redelivered 6 times.

          My JBoss version is 4.2.2GA.


          Thanks in advance
          MLeite


          I can tell from the WARN that you are using the JCA resource adapter
          rather than the JMSContainerInvoker where the configuration you show is valid.

          So you should be using its activation-config-property to configure it.

          That is unless you have configured it to use the backwards compatibilty helper
          JBossJMSMessageEndpointFactory in (standard)jboss.xml
          that maps the old config to the new one.