7 Replies Latest reply on Jul 15, 2002 11:48 PM by hchirino

    Disable dead letter queue?

    stevenrobinson

      Is there a way to disable the DLQHandler?

      Preferably what I would like to see is a way to configure a redelivery delay so that it could possibly wait for 5 minutes before trying a resend, and then also be able to indicate with the MaxTimesRedelivered property that it should keep on trying to deliver the message forever, thereby never going into the DLQ.

      Any suggestions?

      thx
      Steve

        • 1. Re: Disable dead letter queue?
          stevenrobinson

          Weblogic 7 has what I'm looking for, they have a RedeliveryDelayOverride setting which specifies how long it should delay before the message is redelivered. Do I have a hope to ever see this kind of setting in JBoss?

          • 2. Re: Disable dead letter queue?
            schaefera

            Yes, you have ;-)

            Write the fucking code yourself and you have it right away. Otherwise you have to wait until someone has time to write this code for free on he/she free time.

            Otherwise you are welcomed to have a look at the JBoss 10 best reasons why to spend $90k for proprietary licenses.

            Have fun - Andy

            • 3. Re: Disable dead letter queue?
              schaefera

              Yes, you have ;-)

              Write the fucking code yourself and you have it right away. Otherwise you have to wait until someone has time to write this code for free on he/she free time.

              Otherwise you are welcomed to have a look at the JBoss 10 best reasons why to spend $90k for proprietary licenses.

              Have fun - Andy

              • 4. Re: Disable dead letter queue?
                stevenrobinson

                Ok, I expected a response like this :) I just didn't want to take the time of looking through the code to add it myself if it was already there!

                Now I just need to find the time to do it myself.

                • 5. Re: Disable dead letter queue?
                  schaefera

                  I appologize if the anwser was to harsh but many people get the attitude to ask for everything, unfortunately our time is limited as well.

                  But you are always welcomed to provide a patch when you interested in a particular solution.

                  Have fun - Andy

                  • 6. Re: Disable dead letter queue?
                    stevenrobinson

                    Nah it wasn't that harsh, I understand completely where you're coming from. If I ever get a chance to look at this I will submit patch. It would be nice to give something back to the JBoss community.

                    • 7. Re: Disable dead letter queue?
                      hchirino

                      The current Dead Letter Handler needs to get implemented as a Interceptor kinda like the security and and logging interceptors are implemented.

                      If you add him the Dead Letter Handler Interceptor to the container invocation stack, he would inspect the redelivery counter of the message and if it exceed a certine number he moves the message to the Dead Letter Queue.

                      Regards,
                      Hriam