StringBuffer deleteNonDurableRoles = new StringBuffer();
StringBuffer createDurableRoles = new StringBuffer();
StringBuffer deleteDurableRoles = new StringBuffer();
createRoles(createResourceReport, name, sendRoles, consumeRoles, createNonDurableRoles, deleteNonDurableRoles, createDurableRoles, deleteDurableRoles);
operation.invoke(new SimpleValueSupport(SimpleMetaType.STRING, name),
new SimpleValueSupport(SimpleMetaType.STRING, jndiName),
new SimpleValueSupport(SimpleMetaType.STRING, DLA),
new SimpleValueSupport(SimpleMetaType.STRING, expiryAddress),
new SimpleValueSupport(SimpleMetaType.INTEGER_PRIMITIVE, maxSize),
new SimpleValueSupport(SimpleMetaType.INTEGER_PRIMITIVE, pageSize),
new SimpleValueSupport(SimpleMetaType.INTEGER_PRIMITIVE, pageMaxCacheSize),
new SimpleValueSupport(SimpleMetaType.INTEGER_PRIMITIVE, maxDeliveryAttempts),
new SimpleValueSupport(SimpleMetaType.LONG_PRIMITIVE, redeliveryDelay),
new SimpleValueSupport(SimpleMetaType.BOOLEAN_PRIMITIVE, lastValueQueue),
new SimpleValueSupport(SimpleMetaType.LONG_PRIMITIVE, redistributionDelay),
new SimpleValueSupport(SimpleMetaType.BOOLEAN_PRIMITIVE, sendToDLAOnNoRoute),
new SimpleValueSupport(SimpleMetaType.STRING, addressFullMessagePolicy),
new SimpleValueSupport(SimpleMetaType.STRING, sendRoles.toString()),
new SimpleValueSupport(SimpleMetaType.STRING, consumeRoles.toString()),
new SimpleValueSupport(SimpleMetaType.STRING, createDurableRoles.toString()),
new SimpleValueSupport(SimpleMetaType.STRING, deleteDurableRoles.toString()),
new SimpleValueSupport(SimpleMetaType.STRING, createNonDurableRoles.toString()),
new SimpleValueSupport(SimpleMetaType.STRING, deleteNonDurableRoles.toString()));
createResourceReport.setStatus(CreateResourceStatus.SUCCESS);
createResourceReport.setResourceKey("jms.topic." + name);
createResourceReport.setResourceName("jms.topic." + name);
}