public class DatabaseStorageConfiguration extends Object implements StoreConfiguration
StoreConfiguration.StoreType| Constructor and Description |
|---|
DatabaseStorageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBindingsTableName() |
DataSource |
getDataSource()
The DataSource to use to store Artemis data in the data store (can be
null if jdbcConnectionUrl and jdbcDriverClassName are used instead). |
String |
getJdbcConnectionUrl() |
String |
getJdbcDriverClassName() |
String |
getLargeMessageTableName() |
String |
getMessageTableName() |
org.apache.activemq.artemis.jdbc.store.sql.SQLProvider.Factory |
getSqlProviderFactory()
The
SQLProvider.Factory used to communicate with the JDBC data store. |
StoreConfiguration.StoreType |
getStoreType() |
void |
setBindingsTableName(String bindingsTableName) |
void |
setDataSource(DataSource dataSource)
Configure the DataSource to use to store Artemis data in the data store.
|
void |
setJdbcConnectionUrl(String jdbcConnectionUrl) |
void |
setJdbcDriverClassName(String jdbcDriverClassName) |
void |
setLargeMessageTableName(String largeMessagesTableName) |
void |
setMessageTableName(String messageTableName) |
void |
setSqlProvider(org.apache.activemq.artemis.jdbc.store.sql.SQLProvider.Factory sqlProviderFactory) |
public StoreConfiguration.StoreType getStoreType()
getStoreType in interface StoreConfigurationpublic String getMessageTableName()
public void setMessageTableName(String messageTableName)
public String getBindingsTableName()
public void setBindingsTableName(String bindingsTableName)
public String getLargeMessageTableName()
public void setLargeMessageTableName(String largeMessagesTableName)
public void setJdbcConnectionUrl(String jdbcConnectionUrl)
public String getJdbcConnectionUrl()
public void setJdbcDriverClassName(String jdbcDriverClassName)
public String getJdbcDriverClassName()
public DataSource getDataSource()
null if jdbcConnectionUrl and jdbcDriverClassName are used instead).public void setDataSource(DataSource dataSource)
dataSource - public org.apache.activemq.artemis.jdbc.store.sql.SQLProvider.Factory getSqlProviderFactory()
SQLProvider.Factory used to communicate with the JDBC data store.
It can be null. If the value is null and dataSource is set, the {@link org.apache.activemq.artemis.jdbc.store.sql.GenericSQLProvider.Factory} will be used,
else the type of the factory will be determined based on the jdbcDriverClassName.public void setSqlProvider(org.apache.activemq.artemis.jdbc.store.sql.SQLProvider.Factory sqlProviderFactory)
Copyright © 2023 The Apache Software Foundation. All rights reserved.