NO-JIRA Fix compatibility tests

This commit is contained in:
Justin Bertram 2018-05-23 15:29:39 -05:00 committed by Clebert Suconic
parent 3602713a7e
commit cb7b5cba04
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ try {
if (!type.startsWith("ARTEMIS-1")) {
configuration.addAddressesSetting("#", new AddressSettings().setAutoCreateAddresses(true));
if (globalMaxSize != null) {
configuration.getAddressesSettings().get("#").setPageSizeBytes(globalMaxSize).setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE)
configuration.getAddressesSettings().get("#").setPageSizeBytes(Long.parseLong(globalMaxSize)).setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE)
configuration.setGlobalMaxSize(Long.parseLong(globalMaxSize));
}
}