Places redeliveded messages on a Dead Letter Queue.
The Dead Letter Queue handler is used to not set JBoss in an endles loop
when a message is resent on and on due to transaction rollback for
message receipt.
It sends message to a dead letter queue (configurable, defaults to
queue/DLQ) when the message has been resent a configurable amount of times,
defaults to 10.
The handler is configured through the element MDBConfig in
container-invoker-conf.
The JMS property JBOSS_ORIG_DESTINATION in the resent message is set
to the name of the original destination (Destination.toString())
if it is present.
The JMS property JBOSS_ORIG_MESSAGEID in the resent message is set
to the id of the original message.
author: Jason Dillon author: Scott.Stark@jboss.org author: Adrian Brock version: $Revision: 57209 $ |