Hi
page http://tomee.apache.org/jms-resources-and-mdb-container.html
seems to be inaccurate
it says
"Adding the DataSource property to your ActiveMQResourceAdapter config
will automatically setup JDBC Persistence using the
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter"
but the example does not use the "?persistent=true"
in my app, if I omit this parameter, tomee simply behaves as the
messages are in memory.
if I add the parameter
<Resource id="Default JMS Resource Adapter"
type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=true
ServerUrl = tcp://localhost:61616
DataSource = MyJmsDataSource
</Resource>
then it retrieves all the messages that are persisted
BTW, how exactly should I set tomee to disable activemq prefetch? (all of them)
Please provide an example in a file (tomee.xml,
application.properties, whatever), not in the java code.
TIA
Leo