final ConfigStore store = ConfigStore.newInstance();
store.setRoot(new SystemConfigImpl(store));
instance.setConfigStore(store);
final BrokerConfig brokerConfig = new BrokerConfigAdapter(instance);
final SystemConfig system = store.getRoot();
system.addBroker(brokerConfig);
instance.setBrokerConfig(brokerConfig);