Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the dashboard-networkdb-repopulator/src/main/java/net/dante/dashboard/population/messaging/Consumer.java the Consumer picks up a message from the ESB, previously created by the OpsDB-Copier Application

The main classes used are:

net.dante.dashboard.population.messaging.Consumer.class

net.dante.dashboard.population.messaging.Producer.class

net.dante.dashboard.population.notification.NotificationPersistor.class

net.dante.dashboard.population.notification.NotificationPersistorImpl.class

net.dante.dashboard.population.routers.RouterQueryRepopulator.class

net.dante.dashboard.population.tar.TarUnpacker.class

 

The configuration files are found in the classpath of the application. /var/lib/apache-tomcat7/webapps/populate-web/WEB-INF/classes

 

public synchronized void receiveRepopulateRequest(ActiveMQMessage message) throws ExecutionException, InterruptedException {
LOG.info("Received request to repopulate network map DB....");
try {
attemptNetworkMapDatabaseRepopulation();
updateNotifications();
producer.notifyCorrelatorMapRepopulated();
} catch (Exception exception) {
handleExceptionAtHighLevel(exception);
} finally {
producer.sendNotificationsReload();
}
}

...