public abstract class JdbcDestination extends AbstractDestination
Modifier and Type | Field and Description |
---|---|
protected JdbcManager |
_jdbcManager |
Constructor and Description |
---|
JdbcDestination() |
Modifier and Type | Method and Description |
---|---|
protected int |
createDestination(java.lang.String name,
boolean isTopic)
Creates a queue.
|
JdbcManager |
getJdbcManager()
Gets the JDBC manager.
|
java.lang.String |
getName()
Gets the name.
|
void |
init()
Initializes the JdbcDestination
|
boolean |
isTopic()
Returns true for a topic.
|
protected void |
purgeExpiredMessages()
Purges expired messages.
|
void |
setDataSource(javax.sql.DataSource dataSource)
Sets the data source.
|
void |
setJdbcManager(JdbcManager jdbcManager)
Sets the jdbc manager
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setTablespace(java.lang.String tablespace)
Sets the tablespace for Oracle.
|
acknowledge, close, generateMessageID, generateMessageID, getJMSDestination, getQueueName, getTopicName, getUrl, hasMessage, rollback, send, setSerializationHandle, toString
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, contains, drainTo, drainTo, offer, offer, poll, put, remainingCapacity, remove, take
protected JdbcManager _jdbcManager
public void setName(java.lang.String name)
setName
in class AbstractDestination
public java.lang.String getName()
getName
in class AbstractDestination
public boolean isTopic()
public void setJdbcManager(JdbcManager jdbcManager)
public JdbcManager getJdbcManager()
public void setDataSource(javax.sql.DataSource dataSource)
public void setTablespace(java.lang.String tablespace)
@PostConstruct public void init() throws ConfigException, java.sql.SQLException
ConfigException
java.sql.SQLException
protected int createDestination(java.lang.String name, boolean isTopic) throws java.sql.SQLException
java.sql.SQLException
protected void purgeExpiredMessages()