I am using Active MQ 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?