Generated page

This extension provides messaging functions and a document replication feature for the eXist XML database.

  • With the messaging xquery extension functions it is possible to send to a message broker and (asynchronously) receive messages from a message broker.
  • The document replication feature can asynchronously copy and transport documents from one eXist-db instance to one or more other eXist-db instances.
The features rely on the Java Messaging Services (JMS) technology and have been developed using the ActiveMQ message broker.

The XQuery messaging functions can be used from xquery code. A number of examples are provided under the Messaging menu item.

Document replication is implemented using two types of triggers:

  • Replication triggers are fired when a document is stored or updated. These triggers are defined per collection using a collection.xconf document.
  • A startup trigger starts a JMS listener in order to receive replicated documents. This trigger must be defined in the conf.xml configuration file.
The messaging functions and the replication feature share the same configuration parameters. Documentation can be found on the GitHub wiki .

Please note that this extension requires significant knowledge about JMS, ActiveMQ and related technologies. It is recommended to buy a book about these subjects or contact eXist Solutions GmbH for assistance and advice.