Try setting the "activemq.persistenceAdapterFactory" system property
to "org.activemq.store.vm.VMPersistenceAdapterFactory"
so adding a
-Dactivemq.persistenceAdapterFactory=org.activemq.store.vm.VMPersistenceAdapterFactory
in the java command line should do the trick.
On 5/11/06, Norman Valerio <[EMAIL PROTECTED]> wrote:
Hello,
I use ActiveMQ 3.2.2 version and I have this problem:
I am using ActiveMQ embedded into my application (BrokerContainerImpl class)
This application is running on a JBoss server. When I start the application,
ActiveMQ generates a folder
into jboss/bin/ directory called "ActiveMQ" where it puts all the message
historical (as like a cache). I have been tried to stop that
persistence of the messages but nothing works for me.
In resume I need to run the ActiveMQ without any persistence (no disk
"cache").
This is my current code:
BrokerContainer broker = new BrokerContainerImpl();
broker.addConnector("tcp://jmsbroker:61626?persistent=false");
broker.start();
Thanks for all your help.
--
Regards,
Hiram