activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: How to remove ActiveMQ disk message historical
Date Fri, 12 May 2006 00:12:33 GMT
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 <nvalerio@inet.co.cr> 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

Mime
View raw message