you can specify a delete all messages on startup via the activemq.xml conf:
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.base}/data" deleteAllMessagesOnStartup="true" destroyApplicationContextOnStop="true"> -- @tommychheng http://tommy.chheng.com On Wednesday, February 16, 2011 at 6:29 AM, lernen.2007 wrote: > > The problem is how can we delete all messages in a queue if we have a out of > memory. Is there any possiblity to delete messages? > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Delete-all-messages-tp3300144p3308930.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >