activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esther-Sh <>
Subject ActiveMQ persistent mechanism
Date Mon, 04 Feb 2008 14:33:04 GMT

I am trying to understand the ActiveMQ persistent mechanism.
I am using the example of consumer/producer from the site
I have configured this example to use persistent messages, and run with the
following parameters:

<property name="durable" value="true" />	

I wanted to see the impact on the persistence storage, so I used big
<property name="messageSize" value="10000000" />

I wanted those messages to expire after 10 seconds and be removed from the
<property name="timeToLive" value="10000" />

The default cleanupInterval supposed to be 30 sec.

I started the producer, and saw messages created and persisted in the
following directory:

I have waited for a long time, but it seems that no cleanup of the persisted
data took place.
There still were many big files containing the already expired messages that
should have been cleaned.

Why this directory wasn't cleaned?
Maybe I misunderstand how does this persistence cleanup mechanism should

How can i configure the limit of the persistent storage so i had a control
over a number/total size of created files?

I would be very thankful if somebody could help.

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message