try {
List<Map<String, ?>> objects = qpidManager.getObjects(QmfTypes.QUEUE);
for (Map<String, ?> i : objects) {
QMFObject qmfObject = new QMFObject(i);
String queueName = qmfObject.getName();
if(acceptDestination(queueName)) {
DestinationConfig destinationConfig = buildDestinationConfig(queueName);
PropertySetConfig propertySetConfig = new PropertySetConfig();
for (String key : qmfObject.keySet()) {
PropertyConfig propertyConfig = new PropertyConfig();
propertyConfig.setName(key);
propertyConfig.setValue(qmfObject.getStringValue(key));
propertySetConfig.getProperty().add(propertyConfig);
}
destinationConfig.setProperties(propertySetConfig);
rval.add(destinationConfig);