mirror of https://github.com/apache/activemq.git
fix compile error
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
97f2ca1eef
commit
6d2c2f9619
|
@ -61,7 +61,7 @@ public class BrokerServiceGBeanImpl implements GBeanLifecycle, BrokerServiceGBea
|
|||
if (brokerService == null) {
|
||||
brokerService = createContainer();
|
||||
}
|
||||
DefaultPersistenceAdapterFactory persistenceFactory = brokerService.getPersistenceFactory();
|
||||
DefaultPersistenceAdapterFactory persistenceFactory = (DefaultPersistenceAdapterFactory) brokerService.getPersistenceFactory();
|
||||
persistenceFactory.setDataDirectory(serverInfo.resolve(dataDirectory));
|
||||
persistenceFactory.setDataSource((DataSource) dataSource.$getResource());
|
||||
brokerService.start();
|
||||
|
|
Loading…
Reference in New Issue