public class JdbcStoreFactory extends Object implements MessageStoreFactory
Constructor and Description |
---|
JdbcStoreFactory(SessionSettings settings)
Create a factory using session settings.
|
Modifier and Type | Method and Description |
---|---|
MessageStore |
create(SessionID sessionID)
Create a JDBC message store.
|
protected SessionSettings |
getSettings()
Used to support the MySQL-specific class (JNI compatibility)
|
void |
setDataSource(DataSource dataSource) |
public JdbcStoreFactory(SessionSettings settings)
public MessageStore create(SessionID sessionID)
create
in interface MessageStoreFactory
sessionID
- the sessionID for the message store.protected SessionSettings getSettings()
public void setDataSource(DataSource dataSource)
Copyright © 2021. All rights reserved.