You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Rico Neubauer (Jira)" <ji...@apache.org> on 2019/10/17 08:28:00 UTC

[jira] [Commented] (ARTEMIS-2426) Allow artemis-native loading Libraries from Bundle

    [ https://issues.apache.org/jira/browse/ARTEMIS-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953499#comment-16953499 ] 

Rico Neubauer commented on ARTEMIS-2426:
----------------------------------------

fyi: Resulting Manifest entry:
{noformat}
Bundle-NativeCode: lib/linux-i686/libartemis-native-32.so; osname=Linux;
 processor=x86, lib/linux-x86_64/libartemis-native-64.so; osname=Linux;
 processor=x86-64, *{noformat}

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)