Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13396

camel-leveldb can no longer use non-native leveldb libraries

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      I was testing out the 2.23.2 release with WildFly-Camel and our camel-leveldb integration test has started to fail with:

      java.lang.NoClassDefFoundError: org/fusesource/leveldbjni/JniDBFactory

      I think the changes introduced in CAMEL-13368 have caused this. Specifically the static import for the factory class:

      https://github.com/apache/camel/blob/camel-2.23.x/components/camel-leveldb/src/main/java/org/apache/camel/component/leveldb/LevelDBFile.java#L36

      There's a dedicated private getFactory() method in LevelDBFile, which is more friendly for modular class loading environments. So I think the code should be using that instead.

        Attachments

          Activity

            People

            • Assignee:
              jamesnetherton James Netherton
              Reporter:
              jamesnetherton James Netherton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: