-
-
2. Re: configuring DLQ issues
kungfoo Oct 7, 2006 8:54 AM (in response to brooney)myabe my question should be 'does the jms consumer need to be a mdb for the dlq functionality to work'? this doesn't make much sense to me as that would limit the use of configuring a DLQ but thought i may ask it
does my jms code need to do something special for the DLQ to be used? my code currently doesn't do much other than throw an exception when the process has failed.
btw kungFOO = brooney :) -
-
4. Re: configuring DLQ issues
genman Oct 14, 2006 2:10 PM (in response to brooney)Are you using an MDB? What do the debug logs say?
-
5. Re: configuring DLQ issues
kungfoo Oct 14, 2006 4:14 PM (in response to brooney)i'm not using a MDB. we have a custom client that listens to the queue and consumes messages when they arrive. so i don't think log file will be of help.
-
6. Re: configuring DLQ issues
genman Oct 14, 2006 4:51 PM (in response to brooney)A DLQ is an MDB-specific feature. You can emulate it, though. Take a look at the JBoss source.
-
7. Re: configuring DLQ issues
kungfoo Oct 14, 2006 4:56 PM (in response to brooney)thanks for the feedback. this is what i was starting to believe but couldn't find confirmation on it.
i will take a look at my options. -
8. Re: configuring DLQ issues
jaikiran Oct 16, 2006 3:01 AM (in response to brooney)One of the options might be to follow the approach of using a monitor, which has been mentioned at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeadLetterQueues
Here's an extract:If you don't want to write an MDB, you can just install a monitor that fires a notification everytime the queue size changes.