Yes, that's what I currently need to do, keep the store. But to avoid
accidentally using it, I really would want to disable it.
https://issues.apache.org/jira/browse/AMQ-9410
Thx,
On 29/11/2023 16:27, Jean-Baptiste Onofré wrote:
That's not currently possible as the lease depends on the store (store
useless when non persistent).
As persistent is a message property, you can keep the store just for the lease.
Can you please create a Jira about that ? I can add something around that.
Regards
JB
On Wed, Nov 29, 2023 at 9:19 AM Martin Lichtin
<lich...@yahoo.com.invalid> wrote:
I'd like to configure ActiveMQ classic for non-persistent messaging,
with a database lease locker.
How can this be done?
Configuring <broker persistent="false" ... > then at startup it says:
persistent="false", ignoring configured persistenceAdapter
but the "lease-database-locker" must be configured inside:
<persistenceAdapter>
<mKahaDB lockKeepAlivePeriod="1000">
<locker>
<lease-database-locker leaseHolderId="${broker-id:root}" >
<statements>
<statements lockTableName="activemq_lock" />
</statements>
</lease-database-locker>
</locker>
</mKahaDB>
</persistenceAdapter>