On 19/08/2010 15:00, George H wrote: > http://activemq.apache.org/how-do-i-disable-persistence.html
Thanks for the link George. However, as far as I understand, disabling persistace means that the pending messages won't be spooled to disk and won't survive a broker restart. But if the broker is running and I disconnect the consumer, send some messages to the queue and reconnect the consumer, it will get flooded with all the pending messages. This isn't the behaviour I was talking about. I need the messages to go to bin when there are no consumers. I already have the NON_PERSISTENT message delivery flag set on the producer. Cheers, Andrew. -- [ Andrew Wasilczuk | Service Support Engineer ] [ NetDev Limited | http://netdev.co.uk/ ] [ M. +44 7540 047621 | T. +44 1273 936119 ] [ MM2 Support | ] [ T. +44 1273 936121 | mm2supp...@netdev.co.uk ]