mirror of https://github.com/apache/activemq.git
Fixes AMQ-4599: Only package the pure java LevelDB driver by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1496514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3fb8be2ba
commit
baf8c499b3
|
@ -77,6 +77,9 @@
|
|||
<artifactId>leveldbjni</artifactId>
|
||||
<version>${leveldbjni-version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Lets not include the JNI libs for now so that we can harden the pure java driver more -->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.fusesource.leveldbjni</groupId>
|
||||
<artifactId>leveldbjni-osx</artifactId>
|
||||
|
@ -102,7 +105,8 @@
|
|||
<artifactId>leveldbjni-win64</artifactId>
|
||||
<version>1.5</version>
|
||||
</dependency>
|
||||
|
||||
-->
|
||||
|
||||
<!-- For Replication -->
|
||||
<dependency>
|
||||
<groupId>org.fusesource.hawtdispatch</groupId>
|
||||
|
|
|
@ -559,7 +559,10 @@ class LevelDBClient(store: LevelDBStore) {
|
|||
}.headOption.getOrElse(throw new Exception("Could not load any of the index factory classes: "+factoryNames))
|
||||
|
||||
if( factory.getClass.getName == "org.iq80.leveldb.impl.Iq80DBFactory") {
|
||||
warn("Using the pure java LevelDB implementation which is still experimental. Production users should use the JNI based LevelDB implementation instead.")
|
||||
info("Using the pure java LevelDB implementation.")
|
||||
}
|
||||
if( factory.getClass.getName == "org.fusesource.leveldbjni.JniDBFactory") {
|
||||
info("Using the JNI LevelDB implementation.")
|
||||
}
|
||||
|
||||
indexOptions = new Options();
|
||||
|
|
Loading…
Reference in New Issue