activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Cleaning the database
Date Sat, 19 May 2007 07:30:27 GMT
On 5/18/07, Jim Alateras <jima@comware.com.au> wrote:
> James Strachan wrote:
> > On 5/17/07, Jim Alateras <jima@comware.com.au> wrote:
> >> What is the best way to clear the database that stores persistent
> >> messages? I am using an embedded broker and the mysql database, which
> >> is shared with other applications.
> >
> > You can purge individual queues via JMX; or just drop & recreate the
> > database in mysql :)
> >
> thanks James, can you point me a URL that describes the activemq
> database schema.

No its created on startup. Note if you're using the journal with
ActiveMQ for performance, deleting messages in the database before
checkpointing could cause confusion (i.e. they may come back next
checkpoint).

-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message