compared with
Current by Erik Drolshammer
on Oct 19, 2015 06:11.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History

h6. Test parent
{code:java}
@Test(groups = "jms")
public class EmbeddedJmsServerParent {
private BrokerService broker;

@BeforeMethod
protected void startJmsServer() throws Exception {
broker = BrokerFactory.createBroker(new URI("xbean:activemq.xml"));
broker.start();
}
See [EmbeddedJmsServerParent]

@AfterMethod
protected void stopJmsServer() throws Exception {
if (broker != null && broker.isStarted()) {
broker.stop();
broker.waitUntilStopped();
}
}
}
{code}


h6. src/test/resources
{code:xml}