Hi, you can use asynchronous sending. See
http://activemq.apache.org/how-do-i-enable-asynchronous-sending.html and http://activemq.apache.org/async-sends.html for more info Cheers -- Dejan Bosanac ----------------- FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter: http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Nov 12, 2010 at 11:37 PM, devnull <jimi...@gmail.com> wrote: > > Does ActiveMQ have something between persistent and non persistent messages? > E.g.: messages are sent to the broker's memory and are lazily written to > disk if they start to overflow memory? > > Ideally the behavior I'm looking for is the speed of nonpersistent messages > but if the consumers get backed up that most of the messages are logged to > disk, if a crash occurs I lose whatever was in memory but the overflow on > disk gets reloaded back into ram to be processed by the consumers. > > thanks > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Does-ActiveMQ-have-the-concepts-of-lazy-writes-to-disk-tp3040432p3040432.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >