Durable Topics and message expiry
"George H" <[email protected]> Sun, 14 Oct 2007 14:40:56 +0300
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have this idea and I don't know how plausable it is to do with OpenJMS... So i'll run it by here and see the feedback :) I am thinking of implementing a Durable Topic on openjms that will hold a copy of messages that are sent to other clients. I want this topic to keep those messages indefinitely (set expiry date never to expire?) and I don't want the messages to disappear either once a subscriber has read them. The point being to create a "history topic" where subscribers can hook on to it, receive all messages in order from time X to current and then unsubscribe. But they can go back and check out the "history topic" again at any time. I haven't tried to do this but wondering if this is feesable to do with OpenJMS or if not I should just use a separate DB and a query. Thanks. -- "Nothing is impossible for the person that doesn't have to do it" "The probability of anything happening is in inverse ratio to its desirability" "The problem is not freedom of choice, it is about the choices you have. Choice is always limited by the number of alternatives presented to you" -- George H [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/