This content has been marked as final.
Show 2 replies
-
1. Re: Avoid adding known messages to DLQ when exception thrown and keep in queue
jbertram Dec 11, 2017 8:25 AM (in response to kavinthamaduranga)1 of 1 people found this helpfulhow to avoid that keep the queue grow?
Are you asking how to avoid growth of the DLQ? If so, possible solutions might be:
- Change the broker configuration so that messages aren't sent to the DLQ
- Set up an MDB on the DLQ itself and deal with the messages when they arrive
- Periodically survey the messages and delete them administratively
-
2. Re: Avoid adding known messages to DLQ when exception thrown and keep in queue
kavinthamaduranga Dec 12, 2017 5:15 AM (in response to jbertram)Thanks jbertram for the reply and figured out can be set the address setting to set the re-delivery limit before add to the DLQ