}
public ServerInfo createBroker(String uri, Properties properties) throws Exception {
CONFIG_PROPERTIES.set(properties);
try {
ClassLoader classLoader = new MultiParentClassLoader("xbean", new URL[0], new ClassLoader[] {
this.getClass().getClassLoader(),
BrokerService.class.getClassLoader()
});
Thread.currentThread().setContextClassLoader(classLoader);