getResourceContext().getPluginConfiguration().put(pluginNameProperty);
File deployDir = new File(parentResourceComponent.getConfigurationPath() + "/deploy");
File deploymentFile = new File(deployDir, FileNameUtility.formatFileName(name) + "-destination-service.xml");
xmlEditor = new JBossMessagingConfigurationEditor(resourceTypeName);
xmlEditor.updateConfiguration(deploymentFile, name, report);
try {
parentResourceComponent.deployFile(deploymentFile);
} catch (Exception e) {
JBossASServerComponent.setErrorOnCreateResourceReport(report, e.getLocalizedMessage(), e);