Never mind, found it. For reference https://issues.apache.org/jira/browse/QPID-7486 see commit 0965d3d26b2598b2591032408cd6a490437b7383 Nov 2, 2016
On Sat, Dec 8, 2018 at 9:03 PM Alex O'Ree <alexo...@apache.org> wrote: > 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); > >