Hi,
I got the same problem; I'm using ActiveMQ 4.0RC2
I tried the URI=> "broker:(tcp://localhost:61626)?persistent=false"; but
didn't work
Thanks for the help.
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 <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
|