This content has been marked as final.
Show 2 replies
-
1. Re: JMS and expiration notification
adrian.brock Nov 5, 2003 12:37 PM (in response to vincent2003)There is no callback.
Perhaps you can supply a patch that add this behaviour?
Regards,
Adrian -
2. Re: JMS and expiration notification
genman Nov 5, 2003 1:23 PM (in response to vincent2003)
You can set your own message property (e.g. "INTERNAL_EXPIRY_TIME") and in your queue receiver do your own expiration checking.
Adding the code to JBoss wouldn't be too hard, just a little messy. There are mainly two places which check for and handle expiration. One in BasicQueue.dropMessage, the other routine is in MessageConsumer (which I think we no longer need.)
Call the setting "expiration policy":
http://edocs.bea.com/wls/docs81/ConsoleHelp/domain_jmsqueue_config_expiration-policy.html
I might do this myself. :-)