Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling DLQ usage for JMS queues

 
Kevin Halk
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?
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic