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.