Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic