By evasion ActiveMQ will utilize the AMQ Store - and its default settings. You can organize the properties of the AMQ Store however; by unambiguously defining its persistence adapt (amqPersistenceAdapter):
Code:
<broker brokerAdd= "address" persistent= "true" useShutdownHook= "false">
<persistenceAdapter>
<amqPersistenceAdapter directory= "activemq-data" maxFileLength= "32mb" />
</ PersistenceAdapter>
<transportConnectors>
<transportConnector uri= "tcp: //localhost:61616" />
</ TransportConnectors>
</ Broker>
The above illustrates the configuration to set the obligatory AMQ Store amqPersistenceAdapter its-through - and unequivocally setting the directory and maxFileLength properties.
Bookmarks