Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Disabling DLQ usage for JMS queues

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'd like to know how I can 'disable' DLQ (dead letter queue) usage for my JMS queues on JBoss 5.1. We'd like to discard messages that are unsent rather than attempt to redeliver them.

I know how to specify a queue's DLQ, however I can't quite figure out how to turn off this behaviour (It doesn't like it when I set DLQ to an empty or null value). I've experimented with changing a queue's DLQ to itself, however I'm not sure if this will throw errors.

Has anybody accomplished this?
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

We'd like to discard messages that are unsent rather than attempt to redeliver them.



Were these undelivered or unacknowledged messages(which is why the server is attempting a redeliver)?

ram.
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic