22.2. Configuration

You can configure the location of the paging folder
Global paging parameters are specified in <JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml.
<configuration xmlns="urn:hornetq"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="urn:hornetq /schema/hornetq-configuration.xsd">
            
            ...
            
            <paging-directory>${jboss.server.data.dir}/hornetq/paging</paging-directory>
            <page-max-concurrent-io>5</page-max-concurrent-io>
            
            ...
paging-directory
This is where page files are stored. HornetQ will create one folder for each address under this configured location. The default for this is data/paging.
page-max-concurrent-io
The maximum number of concurrent reads the system can make on the paging files. This may be increased depending on the expected number of paged destinations and the limits on the storage infrastructure.