I use qpid during integration tests and basically fire up an embedded qpid server programmatically, then run my tests, then stop the server. I have a working setup for 6.0.0 and was attempt to update to a 7.x version and found that the entry point i was using has been changed, specifically the 'Broker' and 'BrokerOptions' classes below. Is there an eqivalent class for the 7.x versions? Also, is there a unit test or something similar in the qpid code base that i could track or follow for do something similar for future versions?
Here's my old code for v6 import org.apache.qpid.server.Broker; import org.apache.qpid.server.BrokerOptions; org.apache.qpid.server.Broker broker = new Broker(); BrokerOptions options = new BrokerOptions(); options.setOverwriteConfigurationStore(true); options.setStartupLoggedToSystemOut(true); String file=new File(".").getAbsolutePath() + File.separator + "src/test/resources/config.json"; System.out.println(file); options.setConfigurationStoreLocation(file); broker.startup(options);