You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "paul.mckenzie" <pa...@hsbcib.com> on 2010/06/22 09:25:01 UTC
ActiveMQ ignoring persistent=false
I am using Active MQ (5.3.2) for integration testing my application. I have
defined an active-mq broker in a spring config like so:
<amq:broker useJmx="false"
persistent="false"
deleteAllMessagesOnStartup="true"
useShutdownHook="true">
<amq:transportConnectors>
<amq:transportConnector uri="tcp://localhost:0"/>
</amq:transportConnectors>
</amq:broker>
But it seems to be ignoring `persistent=false` and every time I run the test
suite I get a folder created called `activemq-data`
What do I need to do so that Active MQ is not persistent?
--
View this message in context: http://old.nabble.com/ActiveMQ-ignoring-persistent%3Dfalse-tp28956944p28956944.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ ignoring persistent=false
Posted by Rob Davies <ra...@gmail.com>.
that looks like a bug that has crept back in - its created - but no data should be put in that directory
cheers,
Rob
On 22 Jun 2010, at 08:25, paul.mckenzie wrote:
>
> I am using Active MQ (5.3.2) for integration testing my application. I have
> defined an active-mq broker in a spring config like so:
>
> <amq:broker useJmx="false"
> persistent="false"
> deleteAllMessagesOnStartup="true"
> useShutdownHook="true">
>
> <amq:transportConnectors>
> <amq:transportConnector uri="tcp://localhost:0"/>
> </amq:transportConnectors>
> </amq:broker>
>
>
> But it seems to be ignoring `persistent=false` and every time I run the test
> suite I get a folder created called `activemq-data`
>
> What do I need to do so that Active MQ is not persistent?
> --
> View this message in context: http://old.nabble.com/ActiveMQ-ignoring-persistent%3Dfalse-tp28956944p28956944.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.