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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content