mirror of https://github.com/apache/activemq.git
setPersistent() call has no affect when using XBeanBrokerFactory - start is already called
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@490805 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17f8a7ebcc
commit
81920f61cc
|
@ -121,10 +121,6 @@ public class CompositeQueueTest extends EmbeddedBrokerTestSupport {
|
||||||
protected BrokerService createBroker() throws Exception {
|
protected BrokerService createBroker() throws Exception {
|
||||||
XBeanBrokerFactory factory = new XBeanBrokerFactory();
|
XBeanBrokerFactory factory = new XBeanBrokerFactory();
|
||||||
BrokerService answer = factory.createBroker(new URI(getBrokerConfigUri()));
|
BrokerService answer = factory.createBroker(new URI(getBrokerConfigUri()));
|
||||||
|
|
||||||
// lets disable persistence as we are a test
|
|
||||||
answer.setPersistent(false);
|
|
||||||
|
|
||||||
return answer;
|
return answer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue