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.
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
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
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
"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 ;)
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.