Re: Delete all messages

2011-02-23 Thread lernen.2007
Thank you for your helps I think we will implement a MBean. -- View this message in context: http://activemq.2283324.n4.nabble.com/Delete-all-messages-tp3300144p3320659.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Delete all messages

2011-02-18 Thread Martin C.
Hi, On Wed, Feb 16, 2011 at 3:29 PM, 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? you could either purge it via the web-interface or via JMX from inside your code. Best regards, Martin

Re: Delete all messages

2011-02-16 Thread Tommy Chheng
you can specify a delete all messages on startup via the activemq.xml conf: http://activemq.apache.org/schema/core"; brokerName="localhost" dataDirectory="${activemq.base}/data" deleteAllMessagesOnStartup="true" destroyApplicationContextOnStop="true&quo

Re: Delete all messages

2011-02-16 Thread lernen.2007
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

Re: Delete all messages

2011-02-11 Thread Aleksandar Ivanisevic
"lernen.2007" writes: > I want if there is no space to persistence messages that activemq remove all > messages. How can I do that? Umm... make the messages non persistant? Because that is the only difference between them ;)

Delete all messages

2011-02-10 Thread lernen.2007
I want if there is no space to persistence messages that activemq remove all messages. How can I do that? -- View this message in context: http://activemq.2283324.n4.nabble.com/Delete-all-messages-tp3300144p3300144.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.