Messages for the non subscribed topics not removed from DB
"Hemant Gaur" <[email protected]> 27 Nov 2006 05:11:23 -0000
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have recently started working on the openJMS version 0.7.6.1 release and found that there has been bug reported 1165743 for the non removal of the non- subscribed topic messages. The work around for this bug can be 1.) Use the expiry time. 2.) Add the dummy consumers for all the topics which consume the messages and hence the DB is cleaned. Above two formulas does not seem suitable for my system as 1.) This imposes the contraint and it is tricky to get the proper exrity time value. 2.) This one is out side the openJMS and will be an overhead if the OpenJMS engine is changed for some installation. This bug has been fixed in the new alpha releases and Tim pointed out that it is difficult to backport to release as some reference counting mechanism is introduced. Has any one tried some thing else at the open JMS code level so as to avoid this. Probabaly some cleanup call or to periodically clean the DB for such messages. I think writing my own DB message cleanUp code in a separate timer thread will lead me into the locking issues as i am not able to properly run the DB queries from the DB console when the OpenJMS is up. Or alternatevely can I have this cleanUP done when the OpenJMS starts (add code in main ) and then proceed as usual. Any ideas and code pointers will be highly appriciated. Thanks, Hemant ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ openjms-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openjms-user