A couple of comments/suggestions: 1) You should think about purging older callbacks first, as opposed to new ones. You mention that if you have Callback A, B, C in memory. If D comes in and it must be persisted, but it can't (via NullPersister), its gets thrown away.
That means the newest callbacks are getting thrown away. Would it be better to throw away the oldest callback (presumably less important then the newest callback)? Just a thought. Not sure how you would do it though - its much easier doing it the current way - that is just throw away the newest one (by simply ignoring it - via NullPersister). 2) How do you purge the persistent store? I didn't see anything that describes what happens if the client never comes back for its callbacks. One scenario I can think of is if the client and server are on the same box and the box goes down. The box comes up, the server starts, but the client does not restart. Its dead. How do you clean up the orphaned persistent store? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866927#3866927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866927 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
