new AttributeDefinition[]{ AddressSettingDefinition.MAX_REDELIVERY_DELAY, AddressSettingDefinition.REDELIVERY_MULTIPLIER }))
);
}
private KernelServicesBuilder createKernelServicesBuilder(ModelTestControllerVersion controllerVersion, ModelVersion messagingVersion, ModelFixer fixer, String xmlFileName) throws IOException, XMLStreamException, ClassNotFoundException {
KernelServicesBuilder builder = createKernelServicesBuilder(AdditionalInitialization.MANAGEMENT)
.setSubsystemXmlResource(xmlFileName);
// create builder for legacy subsystem version
builder.createLegacyKernelServicesBuilder(createAdditionalInitialization(), controllerVersion, messagingVersion)
.addMavenResourceURL(getMessagingGAV(controllerVersion))
.configureReverseControllerCheck(null, fixer)
.addMavenResourceURL(getHornetQDependencies(controllerVersion))
.dontPersistXml();
return builder;