Protecting JBoss messaging queue using persistence
By default, JBoss Messaging is shipped with a Persistence Manager which uses Hypersonic database for persistence. This database is included in the JBoss EAP installation. However, Hypersonic is not supported in a production environment and should not be used.
You can use any of the supported databases to configure message Persistence. Also, the persistence manager allows implementation of non-relational stores or file stores instead of database persistence.
JBoss also has a Null persistence manager which can be configured when persistence is not required.