If you're trying to use KahaDB than

<kahaDB databaseLockedWaitDelay="xxx" ... />

should work for you

Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dej...@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/



On Tue, Mar 20, 2012 at 12:19 PM, Pvbouwel <peter.vanbou...@contribute.be>wrote:

> Is there a reason why it is not possible to set the timeout for brokers who
> want to acquire a lock on the kahadb?
>
> When I look into the source code (KahaPersistenceAdapter.java).  I see:
>
>    private static final int STORE_LOCKED_WAIT_DELAY = 10 * 1000;
>
> I wanted to set this wait_delay using a configuration parameter but this
> isn't possible.
>
> Is there a special reason why this is the case?  What will happen if I
> modify the value in code and I recompile?  Will everything still work?
>
> Greetings,
>
> Peter
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/10-seconds-wait-time-for-kahadb-lock-tp4488418p4488418.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to