[AMQ-9161] Mark JDBC JournalPersistenceAdapter as deprecated for removal (#989)

Deprecated for removal as this PersistenceAdapter is no longer used and replaced by the JDBCPersistenceAdapter.
This commit is contained in:
Matt Pavlovich 2023-03-14 03:57:50 -06:00 committed by GitHub
parent 133019dd8e
commit 04f589e2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -85,6 +85,12 @@ import org.slf4j.LoggerFactory;
* @org.apache.xbean.XBean
*
*/
/**
* Deprecated for removal as this PersistenceAdapter is no longer used and
* replaced by the JDBCPersistenceAdapter.
*/
@Deprecated(forRemoval = true)
public class JournalPersistenceAdapter implements PersistenceAdapter, JournalEventListener, UsageListener, BrokerServiceAware {
private BrokerService brokerService;

View File

@ -40,6 +40,12 @@ import org.slf4j.LoggerFactory;
* @org.apache.xbean.XBean
*
*/
/**
* Deprecated for removal as this PersistenceAdapter is no longer used and
* replaced by the JDBCPersistenceAdapter.
*/
@Deprecated(forRemoval = true)
public class JournalPersistenceAdapterFactory extends DataSourceServiceSupport implements PersistenceAdapterFactory {
private static final int JOURNAL_LOCKED_WAIT_DELAY = 10 * 1000;