activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pstein <>
Subject Re: Are JMS Messages stored persistent out of the box?
Date Mon, 22 Jun 2009 12:33:55 GMT

bsnyder wrote:
>> Is this JMS message now out-of-the-box (=by default) kept persistent
>> (e.g.
>> in a textfile) until it is fetched from a JMS consumer?
> Yes, the message is persisted. ActiveMQ 5.x uses the AMQ Message Store
> as the default persistence store:

So ok, where is this AMQ Message Store (based on files) physically ?
Is it in the whole "data" sub-directory of ActiveMQ or is it in a
subdirectory (journal, kr-store, localhost)
of "data" sub-directory? 

Are the files of the AMQ Message Store human readable?

Can I backup e.g. these files to a safe place then do some app JMS
operations and later copy the original files back to reset ActiveMQ Message
Store to the initial state?

In the link you gave me there is a config file "amqPersistenceAdapter"
Where is this file? I found no "amqPersistenceAdapter.xml" file in ActiveMQ
installation directory tree.

bsnyder wrote:
>> How/Where can I define a database (e.g. MySQL) as persistence container?
> ActiveMQ can be configured to use straight JDBC or journaled JDBC
> depending on the performance you need:

Hmm is there a sample on how to configure it for
- Oracle?

Which tables/users do I have to create in MySQL/Oracle in advance?

How do I tell activemq  to use file based storage (for queues with name
pattern for*) and database based
storeage for queues with name pattern bar* ?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message