There is the 'deleteAllMessagesOnStartup' option, but this option is meant
for testing purposes. 

http://activemq.apache.org/broker-uri.html

Joe
http://www.ttmsolutions.com - get a free ActiveMQ user guide




ivan-50 wrote:
> 
> Hi!
> 
> I have AMQ and consumer of some queue. From third-party, some provider 
> writes JMS messages to queue.
> 
> When consumer is off, JMS messages accumulate in AMQ.
> Next, for some reason, I shutdown AMQ.
> 
> Now I start system (AMQ and consumer), and consumer reads old messages 
> from AMQ.
> 
> I want to delete accumulated messages in AMQ after restarting. The one 
> possible way is to delete /data folder. But is there exist other way, 
> for example, via configuring aсtivemq.xml?
> 
> 
> Thanks in advance!
> Truly yours,
> Ivan Pryvalov.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AMQ-and-messages-tp20087281p20087670.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to