if (location.exists()) {
reader = new BufferedReader(new FileReader(location));
String destination;
Broker broker = getBrokerService().getBroker();
while ((destination = reader.readLine()) != null) {
broker.addDestination(getBrokerService().getAdminConnectionContext(),
ActiveMQDestination.createDestination(destination, ActiveMQDestination.QUEUE_TYPE),
true);
}
}
} catch (Exception e) {