my dog learned polymorphism*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to kick start the DLQ" Watch "How to kick start the DLQ" New topic

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?


I agree. Here's the link:
subject: How to kick start the DLQ
Similar Threads
Camel : Request –Reply using JMS
JMS reliability
JMS - Achieving gaurateed sending of messages in the Queue
consuming messages from JMS Queue without other group having to do anything
MDB + Entity Bean / MDB + SB + EB