[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: ActiveMQ classic - no persistence but need lease-database-locker
From:       Martin Lichtin <lichtin () yahoo ! com ! INVALID>
Date:       2023-12-01 7:13:43
Message-ID: 5d9709c4-9470-4b3f-ae40-82c4cded8c8b () yahoo ! com
[Download RAW message or body]


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
> <lichtin@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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic