[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: discarding consumer messages.

gozilla do-not-reply at jboss.com
Tue Feb 3 09:23:54 EST 2009


Shouldn't we use the  TTL for that ?

Say, put a TTL of the lentgh of validity period for the stock price.

That way, if the consumer is slow, old (outdated) messages are discarded, leaving only the fresh ones in the queue.

François

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

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




More information about the jboss-dev-forums mailing list