http://activemq.apache.org/per-destination-policies.html Define a FixedCountSubscriptionRecoveryPolicy and set MaximumSize should work, however, it may affect the efficiency.
2010/1/23 typisk <c...@snuffyweb.com> > > Hey. > > Basically I want to configure topics to be cached and let's consumers > query that cache on connect. I'm going to use STOMP protocol, and the > client > is javascript. (Webapplication). > > This is very useful in GUI applications where a GUI can come up > after the server has published something - the GUI can query the cache > to get the all message published (preferable with 1 message, instead of > sending for example 50 published messages). > > Any ideas how to do this with ActiveMQ? > -- > View this message in context: > http://old.nabble.com/Send-%27cache%27-on-connect-tp27285420p27285420.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Ivan