Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes How to kick start the DLQ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to kick start the DLQ" Watch "How to kick start the DLQ" New topic
Author

How to kick start the DLQ

Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to kick start the DLQ