...
Persistence Style | Provider | Advantages | Disadvantages |
---|---|---|---|
In-Memory | Qpid MemoryMessageStore | Comes as part of the Qpid package | Only scales to max heap available |
Berkeley DB Store | Berkeley project | Allows persistence for larger messages/volumes | Not Apache licensed |
h2 Using In-Memory Persistence
Using In-Memory persistence is the default when you install Qpid and requires no additional install/configuration.
Using Berkeley DB Persistence
Install Berkeley DB
If you choose to use the Berkeley DB solution for scalability purposes then you should download & install version 3.1 from http://www.oracle.com/technology/software/products/berkeley-db/je/index.html
Then to use it .. (details being added)
Amend your Qpid configuration to switch BDB on
The default Qpid configuration file can be found in the etc directory of your install and is named config.xml.
To use BDB, simply add the following element:
...
Code Block | ||||
---|---|---|---|---|
| ||||
<store> <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class> </store> |
Install the Qpid bridge modules for Berkeley DB
...
As a temporary measure, you can detach the bridging modules from this page. You should then ensure that this jar is included in the classpath for your client application.
We hope to be able to integrate these modules into our Apache project shortly - but pending a discussion about the appropriate way to handle this process.tbc