NO-JIRA Fix compatibility tests
This commit is contained in:
parent
3602713a7e
commit
cb7b5cba04
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue