How to enable zero persistence in hornetq

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

  • What other parameters from the default standalone-full.xml should be removed and/or added when memory persistency is enabled?

Resolution

To obtain zero persistence all that is required to set persistence-enabled to false

 <persistence-enabled>false</persistence-enabled>

When the persistence is disabled , then the messages in the queue would not survive the server restart.

That means if there are are 5 messages in the queue and if the JBoss server restarts then in that case, these 5 messages would be lost.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.