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() |
int |
getJdbcNetworkTimeout() |
String |
getJMSBindingsTableName() |
String |
getLargeMessageTableName() |
String |
getMessageTableName() |
String |
getPageStoreTableName() |
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 |
setJdbcNetworkTimeout(int jdbcNetworkTimeout) |
void |
setJMSBindingsTableName(String jmsBindingsTableName) |
void |
setLargeMessageTableName(String largeMessagesTableName) |
void |
setMessageTableName(String messageTableName) |
void |
setPageStoreTableName(String pageStoreTableName) |
void |
setSqlProvider(SQLProvider.Factory sqlProviderFactory) |
public StoreConfiguration.StoreType getStoreType()
getStoreType
in interface StoreConfiguration
public String getMessageTableName()
public void setMessageTableName(String messageTableName)
public String getBindingsTableName()
public void setBindingsTableName(String bindingsTableName)
public String getLargeMessageTableName()
public void setLargeMessageTableName(String largeMessagesTableName)
public String getPageStoreTableName()
public void setPageStoreTableName(String pageStoreTableName)
public String getJMSBindingsTableName()
public void setJMSBindingsTableName(String jmsBindingsTableName)
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 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(SQLProvider.Factory sqlProviderFactory)
public int getJdbcNetworkTimeout()
public void setJdbcNetworkTimeout(int jdbcNetworkTimeout)
Copyright © 2017 JBoss by Red Hat. All rights reserved.