REQUIREMENT queue.jdbc.hsqldb |
Type | NEW |
Priority | MIDDLE |
Status | CLOSED |
Topic | XmlBlaster has an advanced queuing facility. As the default persistence layer HSQLDB is used as an embedded java database. | |||||||||||||||||||||||||||||||||||
Des cription |
As default xmlBlaster comes with persistence switched on. The default database is HSQLDB which can be used in embedded mode. This means that there is no need to have an external database running. It runs in the same virtual machine as xmlBlaster. Configuration of the DB is therefore kept to an absolute minimum for default behaviour. If you want to deactivate persistence, or if you want to choose another database please look at the comments in the xmlBlaster.properties file (which normally resides in your home directory). Setup hsqldb
|
|||||||||||||||||||||||||||||||||||
Example Java |
This is a configuration example from xmlBlaster.properties: JdbcStorage[HSQLDatabaseEngine]=org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin,\ url=jdbc:hsqldb:xmlblaster,\ user=sa,\ password=,\ connectionPoolSize=1,\ connectionBusyTimeout=90000,\ maxWaitingThreads=300,\ tableNamePrefix=XB_,\ entriesTableName=ENTRIES,\ dbAdmin=true StoragePlugin[JDBC][1.0]=${JdbcStorage[HSQLDatabaseEngine]} QueuePlugin[JDBC][1.0]=${JdbcStorage[HSQLDatabaseEngine]} JdbcDriver.mapping[HSQLDatabaseEngine]=\ string=VARCHAR,longint=BIGINT,int=INTEGER,blob=BINARY,\ boolean=CHAR |
|||||||||||||||||||||||||||||||||||
Configure |
These parameters allow to configure a cache queue running with hsqldb
NOTE: Configuration parameters are specified on command line (-someValue 17) or in the
xmlBlaster.properties file (someValue=17). See requirement "util.property" for details. |
|||||||||||||||||||||||||||||||||||
See | http://hsqldb.sourceforge.net/ | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.queue.I_Queue | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.queue.jdbc.CacheQueuePlugin | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.queue.QueuePluginManager | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.queue.I_QueueEntry | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.qos.storage.QueuePropertyBase | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.I_Plugin | |||||||||||||||||||||||||||||||||||
See API | org.xmlBlaster.util.Global | |||||||||||||||||||||||||||||||||||
See REQ | queue | |||||||||||||||||||||||||||||||||||
See TEST | org.xmlBlaster.test.classtest.queue.I_QueueTest | |||||||||||||||||||||||||||||||||||
See TEST | org.xmlBlaster.test.classtest.queue.JdbcQueueTest | |||||||||||||||||||||||||||||||||||
See TEST | org.xmlBlaster.test.classtest.queue.CacheQueueTest |
This page is generated from the requirement XML file xmlBlaster/doc/requirements/queue.jdbc.hsqldb.xml