I am currently using lease-database-locker, but would like to inject my own Database Locker, how would i do this?

Solution Unverified - Updated -

Issue

  • I am currently using 'lease-database-locker', but would like to inject my own Database Locker, how would i do this?
        <persistenceAdapter>
            <jdbcPersistenceAdapter createTablesOnStartup="true" adapter="#postgresPersistenceAdapter" dataSource="#postgres-ds" lockKeepAlivePeriod="5000"  >
                <locker>
                    <lease-database-locker lockAcquireSleepInterval="10000" />
                </locker>
            </jdbcPersistenceAdapter>
        </persistenceAdapter>

Environment

  • Red Hat JBoss AMQ
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.