AMQShortString type = new AMQShortString(exchangeConfiguration.getString("type","direct"));
boolean durable = exchangeConfiguration.getBoolean("durable",false);
boolean autodelete = exchangeConfiguration.getBoolean("autodelete",false);
Exchange newExchange = exchangeFactory.createExchange(exchangeName,type,durable,autodelete,0);
exchangeRegistry.registerExchange(newExchange);
}
}
}