Hi Vince, It’s possible to have different datasource: one for the main message store, one for the lease locker.
As JDBC leaser locker extends persistent adapter, you can pass a datasource. Something like this should work: <persistenceAdapter> <jdbcPersistenceAdapter dataDirectory="${activemq.data}" dataSource="#dsmain" lockKeepAlivePeriod="5000"> <locker> <lease-database-locker dataSource="#dslock" lockAcquireSleepInterval="10000"/> </locker> </jdbcPersistenceAdapter> </persistenceAdapter> You can take a look on http://blog.nanthrax.net/?p=422 <http://blog.nanthrax.net/?p=422> Regards JB > Le 24 mai 2021 à 22:42, Vince Cox <v...@perforce.com> a écrit : > > Are there any future plans with ActiveMQ that will provide separate data > source (using JDBC) to handle leader activity and message traffic? We are > aware we can use kahaDB and JDBC, but we’d like to have a separate JDBC > sources for our message store and our lock. > > Thank you. > > Vince > > > This e-mail may contain information that is privileged or confidential. If > you are not the intended recipient, please delete the e-mail and any > attachments and notify us immediately. >