wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Disabling DLQ usage for JMS queues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Disabling DLQ usage for JMS queues" Watch "Disabling DLQ usage for JMS queues" New topic
Author

Disabling DLQ usage for JMS queues

Kevin Halk
Greenhorn

Joined: Feb 09, 2010
Posts: 10
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

Joined: Jan 24, 2005
Posts: 489

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling DLQ usage for JMS queues
 
Similar Threads
JMS Destination in Weblogic9.2
DeaD Letter Queues
Message Queues--Data Tier?
Concurrent Linked Queue and Array Blocking Queue
Specifying JMS Queue size in OAS