• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to kick start the DLQ

 
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!