[jboss-user] [JBoss Messaging] - Re: Messages are moved to expiry queue only when there is a

genman do-not-reply at jboss.com
Fri Jul 27 14:01:09 EDT 2007


What I did for JBoss MQ is schedule a timeout to occur for all expiring messages, similar to the scheduled message feature, which does the move/removal.

There are some scalability issues with doing that. Namely, every soon and not-so-soon expired message ID is kept in memory on a heap. It'd be better if the expiry date was kept as a separate column in the DB, and indexed, to assist in finding these messages without having to scan them all.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068311#4068311

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068311



More information about the jboss-user mailing list