mirror of https://github.com/apache/activemq.git
Fixes compiler error in last leveldb fix.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489036 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
acc51e693e
commit
3bfb4426b0
|
@ -17,7 +17,7 @@
|
|||
package org.apache.activemq.transport.amqp;
|
||||
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.activemq.leveldb.LevelDBStore;
|
||||
// import org.apache.activemq.leveldb.LevelDBStore;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
|
@ -26,10 +26,10 @@ public class IDERunner {
|
|||
public static void main(String[]args) throws Exception {
|
||||
BrokerService bs = new BrokerService();
|
||||
bs.addConnector("tcp://localhost:61616");
|
||||
LevelDBStore store = new LevelDBStore();
|
||||
store.setDirectory(new File("target/activemq-data/haleveldb"));
|
||||
bs.setPersistenceAdapter(store);
|
||||
bs.deleteAllMessages();
|
||||
// LevelDBStore store = new LevelDBStore();
|
||||
// store.setDirectory(new File("target/activemq-data/haleveldb"));
|
||||
// bs.setPersistenceAdapter(store);
|
||||
// bs.deleteAllMessages();
|
||||
bs.start();
|
||||
bs.waitUntilStopped();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue