I'm a little bit confused. Let me tell you what I understood and
please tell me what am I doing wrong.
I want to have a journal persistence for faster performance but that
could be automatically stored in a MySQL DB.
Then I've defined:
After run some tests creating topics and messages and couldn't see
tables created or data in my MySQL DB.
Then I decided to test using just a jdbc persistence in my MySQL DB
then I replaced above code with:
But when I started broker I saw in console out:
INFO DefaultListableBeanFactory - Creating shared instance of
singleton bean 'mysql-ds'
INFO BrokerService - ActiveMQ 4.0-M4 JMS Message
Broker (nova1) is starting
INFO BrokerService - For help or more information
please see: http://www.logicblaze.com
INFO JDBCPersistenceAdapter - Database driver recognized:
INFO - Journal Recovery Started from: Active Journal: using 2 x
20.0 Megs at: activemq-data/nova1/journal
INFO JournalPersistenceAdapter - Journal Recovered: 0
message(s) in transactions recovered.
it's using a JournalPersistenceAdapter !!! ???
I've checked activemq start script and commented the line:
if [ -z "$ACTIVEMQ_OPTS" ] ; then
#### ACTIVEMQ_OPTS="-Xmx512M -Dderby.system.home=../data
Then I started broker againg and saw the same message !!!
Why my broker is using allways JournalPersistenceAdapter and how could
I get a persistence where data were saved in Journal and MySQL DB ?
Thanks in advance