protected void activate(ComponentContext ctxt) {
try {
// start consumer
// initialize TopologyBuilder Consumer
if (System.getProperty("mb.server.ip") != null) {
Thread topologyConsumer = new Thread(new TopologySyncher(ConfigHolder.getInstance().getSharedTopologyDiffQueue()));
// start consumer
topologyConsumer.start();
TopologySubscriber.subscribe(TopologyConstants.TOPIC_NAME);
}