You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Norman Valerio <nv...@inet.co.cr> on 2006/05/11 22:43:18 UTC
How to remove ActiveMQ disk message historical
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.
RE: How to remove ActiveMQ disk message historical
Posted by Norman Valerio <nv...@inet.co.cr>.
Thank you so much, I will try !
-----Original Message-----
From: chirino@gmail.com [mailto:chirino@gmail.com] On Behalf Of Hiram
Chirino
Sent: Thursday, May 11, 2006 6:13 PM
To: activemq-users@geronimo.apache.org
Subject: Re: How to remove ActiveMQ disk message historical
Try setting the "activemq.persistenceAdapterFactory" system property
to "org.activemq.store.vm.VMPersistenceAdapterFactory"
so adding a
-Dactivemq.persistenceAdapterFactory=org.activemq.store.vm.VMPersistenceAdap
terFactory
in the java command line should do the trick.
On 5/11/06, Norman Valerio <nv...@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
Re: How to remove ActiveMQ disk message historical
Posted by Hiram Chirino <hi...@hiramchirino.com>.
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 <nv...@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