tank you . hi have read :
Internal ActiveMQ Broker with JDBC Persistence
Adding the DataSource property to your ActiveMQResourceAdapter config will
automatically setup JDBC Persistence using the
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter
<tomee>
<Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://someHostName:61616)
ServerUrl = tcp://someHostName:61616
DataSource = MyDataSource
</Resource>
<Resource id="MyDataSource" type="javax.sql.DataSource">
JdbcDriver = org.hsqldb.jdbcDriver.
JdbcUrl = jdbc:hsqldb:file:data/hsqldb/hsqldb.
UserName = sa
Password = foo
</Resource>
</tomee>
i have to put into the MyJmsResoureAdapter the reference at MyDdatasource.
But now i you ask : How configure the tables of database ?
Or the tables of database are build automatically ?
DO you have a example ?
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/how-save-into-mydatasopurce-myql-the-jms-message-for-topic-durable-tp4671812p4671814.html
Sent from the TomEE Users mailing list archive at Nabble.com.