Showing:

Annotations
Attributes
Model
Properties
Element tns:jdbcPersistenceAdapter
Namespace http://activemq.apache.org/schema/core
Annotations
A {@link PersistenceAdapter} implementation using JDBC for persistence
storage.

This persistence adapter will correctly remember prepared XA transactions,
but it will not keep track of local transaction commits so that operations
performed against the Message store are done as a single uow.
Properties
content complex
Model
Children tns:adapter, tns:brokerService, tns:dataSource, tns:databaseLocker, tns:ds, tns:lockDataSource, tns:locker, tns:scheduledThreadPoolExecutor, tns:statements, tns:usageManager, tns:wireFormat
Attributes
QName Type Use Annotation
adapter xs:string optional
auditRecoveryDepth xs:integer optional
brokerName xs:string optional
brokerService xs:string optional
changeAutoCommitAllowed xs:boolean optional
Whether the JDBC driver allows to set the auto commit.
Some drivers does not allow changing the auto commit. The default value is true.
cleanupPeriod xs:integer optional
Sets the number of milliseconds until the database is attempted to be
cleaned up for durable topics
createTablesOnStartup xs:boolean optional
Sets whether or not tables are created on startup
dataDirectory xs:string optional
dataDirectoryFile xs:string optional
dataSource xs:string optional
databaseLocker xs:string optional
Sets the database locker strategy to use to lock the database on startup
directory xs:string optional
ds xs:string optional
enableAudit xs:boolean optional
id xs:ID optional
lockAcquireSleepInterval xs:long optional
lockDataSource xs:string optional
lockKeepAlivePeriod xs:long optional
locker xs:string optional
maxAuditDepth xs:integer optional
maxProducersToAudit xs:integer optional
maxRows xs:integer optional
scheduledThreadPoolExecutor xs:string optional
statements xs:string optional
transactionIsolation xs:integer optional
set the Transaction isolation level to something other that TRANSACTION_READ_UNCOMMITTED
This allowable dirty isolation level may not be achievable in clustered DB environments
so a more restrictive and expensive option may be needed like TRANSACTION_REPEATABLE_READ
see isolation level constants in {@link java.sql.Connection}
usageManager xs:string optional
useDatabaseLock xs:boolean optional
useExternalMessageReferences xs:boolean optional
useLock xs:boolean optional
wireFormat xs:string optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Element tns:jdbcPersistenceAdapter / tns:adapter
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
Children tns:axionJDBCAdapter, tns:blobJDBCAdapter, tns:bytesJDBCAdapter, tns:db2JDBCAdapter, tns:defaultJDBCAdapter, tns:hsqldb-jdbc-adapter, tns:imageBasedJDBCAdaptor, tns:informixJDBCAdapter, tns:maxdb-jdbc-adapter, tns:mysql-jdbc-adapter, tns:oracleBlobJDBCAdapter, tns:oracleJDBCAdapter, tns:postgresql-jdbc-adapter, tns:streamJDBCAdapter, tns:sybase-jdbc-adapter, tns:transact-jdbc-adapter
Element tns:jdbcPersistenceAdapter / tns:brokerService
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:broker | tns:brokerService | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:broker, tns:brokerService
Element tns:jdbcPersistenceAdapter / tns:dataSource
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Element tns:jdbcPersistenceAdapter / tns:databaseLocker
Namespace http://activemq.apache.org/schema/core
Annotations
Sets the database locker strategy to use to lock the database on startup
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:database-locker | tns:lease-database-locker | tns:shared-file-locker | tns:transact-database-locker | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:database-locker, tns:lease-database-locker, tns:shared-file-locker, tns:transact-database-locker
Element tns:jdbcPersistenceAdapter / tns:ds
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Element tns:jdbcPersistenceAdapter / tns:lockDataSource
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Element tns:jdbcPersistenceAdapter / tns:locker
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:database-locker | tns:lease-database-locker | tns:shared-file-locker | tns:transact-database-locker | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:database-locker, tns:lease-database-locker, tns:shared-file-locker, tns:transact-database-locker
Element tns:jdbcPersistenceAdapter / tns:scheduledThreadPoolExecutor
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Element tns:jdbcPersistenceAdapter / tns:statements
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:statements | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:statements
Element tns:jdbcPersistenceAdapter / tns:usageManager
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
tns:systemUsage | ANY element from ANY namespace OTHER than 'http://activemq.apache.org/schema/core'
Children tns:systemUsage
Element tns:jdbcPersistenceAdapter / tns:wireFormat
Namespace http://activemq.apache.org/schema/core
Properties
content complex
minOccurs 0
maxOccurs 1
Model
ANY element from ANY namespace
Attribute tns:jdbcPersistenceAdapter / @adapter
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @auditRecoveryDepth
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @brokerName
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @brokerService
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @changeAutoCommitAllowed
Namespace No namespace
Annotations
Whether the JDBC driver allows to set the auto commit.
Some drivers does not allow changing the auto commit. The default value is true.
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @cleanupPeriod
Namespace No namespace
Annotations
Sets the number of milliseconds until the database is attempted to be
cleaned up for durable topics
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @createTablesOnStartup
Namespace No namespace
Annotations
Sets whether or not tables are created on startup
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @dataDirectory
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @dataDirectoryFile
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @dataSource
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @databaseLocker
Namespace No namespace
Annotations
Sets the database locker strategy to use to lock the database on startup
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @directory
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @ds
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @enableAudit
Namespace No namespace
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @lockAcquireSleepInterval
Namespace No namespace
Type xs:long
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @lockDataSource
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @lockKeepAlivePeriod
Namespace No namespace
Type xs:long
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @locker
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @maxAuditDepth
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @maxProducersToAudit
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @maxRows
Namespace No namespace
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @scheduledThreadPoolExecutor
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @statements
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @transactionIsolation
Namespace No namespace
Annotations
set the Transaction isolation level to something other that TRANSACTION_READ_UNCOMMITTED
This allowable dirty isolation level may not be achievable in clustered DB environments
so a more restrictive and expensive option may be needed like TRANSACTION_REPEATABLE_READ
see isolation level constants in {@link java.sql.Connection}
Type xs:integer
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @usageManager
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @useDatabaseLock
Namespace No namespace
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @useExternalMessageReferences
Namespace No namespace
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @useLock
Namespace No namespace
Type xs:boolean
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @wireFormat
Namespace No namespace
Type xs:string
Properties
content simple
Attribute tns:jdbcPersistenceAdapter / @id
Namespace No namespace
Type xs:ID
Properties
content simple