I am trying to figure out how to configure JBoss, so that I can get notified of the fact when a JMS message expires. In other words, after setting the timeToLive on a JMS message, what happens - or is possible - with this message when the timeToLive actually expires ?
I've noticed that it works, but the message simply disappears from the queue (I am using JBoss 3.2.5). Is it possible to reroute this message, for instance to the DLQ ?
tnx for any assistance
Expiration behaviors are not a supported feature. I would consume the message and execute the expiration behavior in an MDB, for example.