String pagingPath = PATHS.get(PAGING_DIRECTORY).resolveModelAttribute(context, model.get(PATH, PAGING_DIRECTORY)).asString();
String pagingRelativeToPath = RELATIVE_TO.resolveModelAttribute(context, model.get(PATH, PAGING_DIRECTORY)).asString();
// Create the HornetQ Service
final HornetQService hqService = new HornetQService(
new PathConfig(bindingsPath, bindingsRelativeToPath, journalPath, journalRelativeToPath, largeMessagePath, largeMessageRelativeToPath, pagingPath, pagingRelativeToPath));
hqService.setConfiguration(configuration);
// Add the HornetQ Service
ServiceName hqServiceName = MessagingServices.getHornetQServiceName(serverName);