Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to kick start the DLQ  RSS feed

 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've an application that posts messages to a JMS queue so that some processing can be done asynchronously. I send it to a queue so that I am sure it doesn't get lost.

I have a MDB that picks up the messages and handles them. If an exception is thrown in the MDB, JBoss tries to process the message 10 times before it is sent to the DLQ.

Once something has been sent to the DLQ, is there a way to force the JBoss to retry the message - e.g. send the message back from the DLQ to my JMS queue?

Thanks,

Dave.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!