1 Reply Latest reply on Feb 1, 2005 1:44 PM by starksm64

    Use DLQ without MDB

    spossner

      Hello JBoss Community!


      I scanned the FAQ and searched the forum the whole day without success. Maybe I search for wrong key words 8-|.


      I want to use JMS from a simple servlet (no MDB), which works fine. In addition, I'am interested in timed out and not delivered messages. I saw DLQ configurations for message driven beans but none for a simple destination (queue).

      Is it possible to configure or plug in something like a DLQ without having MDB? Are there already forum tasks regarding this topic??



      Thanks in advance

      Sebastian

        • 1. Re: Use DLQ without MDB
          starksm64

          No, only MDBs have a DLQ notion currently. This is something you can implement yourself using a MessageListener base class that catches any exception thrown from onMessage and posts the message to a DLQ of its choice.