Rico Neubauer created ARTEMIS-2426:
--------------------------------------

             Summary: Allow artemis-native loading Libraries from Bundle
                 Key: ARTEMIS-2426
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2426
             Project: ActiveMQ Artemis
          Issue Type: New Feature
          Components: ActiveMQ-Artemis-Native
    Affects Versions: native-1.0.0
            Reporter: Rico Neubauer
            Assignee: clebert suconic


artemis-native currently expects the native libraries to be in the native 
library path on filesystem. The libraries are shipped in the bundle though 
already.

There is header _Bundle-Native_ which can be used to declare the path inside 
the bundle to look for the libraries. The way they get loaded 
(System.loadLibrary) already matches to find them.
See section 3.10 in OSGi spec (4.3).

Will push a PR, which creates the header for x86 and x86-64, since those are 
the 2 that are also shipped in the bundle.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to