XmlBlaster Logo



XmlBlaster Logo

Type NEW
Priority MEDIUM
Topic XmlBlaster provides a XML:DB-API based persistence layer to store messages marked with <persistent/>
deprecated: see queue.jdbc.commontable requirement

To store messages and to restore them again after a new startup of the xmlBlaster server there is a lightweight interface, called I_PersitenceDriver, available.

XMLDB Plugin is an implementation of the interface I_PersitenceDriver. This plugin stores messages in a XMLDB database, one message to one entry (plus a key and a qos entry per message).

To avoid corrupt contet data the message is enclosed into <![CDATA[]]>.

This plugin can be activated by setting the properties: i.e. Persistence.Driver.Type=xmldb. Note that you need to declare the version (Persistence.Driver.Version) and the path (Persistence.Driver.Path) of the persistence driver as well. See the xindice proxy for details.

Only messages which are marked as <persistent> are stored using this persistent driver.

Property Default / Example Description Implemented
Persistence.Driver.Type filestore
Example: xmldb
Gives the type of the persistence driver. yes
Persistence.Driver.Version 1.0
Example: xindice
Gives the version of the persistence driver type. no
Persistence.Path ${user.home}${file.separator}tmp
Example: xmldb:xindice:///db/xmlBlaster
Gives the path of storage depending on the desired persistence driver type and version. yes

NOTE: Configuration parameters are specified on command line (-someValue 17) or in the xmlBlaster.properties file (someValue=17). See requirement "util.property" for details.
Columns named Impl tells you if the feature is implemented.
Columns named Hot tells you if the configuration is changeable in hot operation.


Find the CORBA Bug!

Problem is: currently we're using two different ORB's in the same VM. We try to address this problem by delegating the Plugins to different ClassLoaders.

See REQ engine.qos.publish.persistent
See REQ engine.persistence
See API org.xmlBlaster.engine.persistence.I_PersistenceDriver
See API org.xmlBlaster.engine.persistence.xmldb.XMLDBPlugin
See http://www.xmldb.org
See TEST org.xmlBlaster.test.persistence.TestPersistenceXMLDB

This page is generated from the requirement XML file xmlBlaster/doc/requirements/engine.persistence.xmldb.xml

Back to overview