You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/10/03 12:55:00 UTC

[jira] [Commented] (ARTEMIS-4444) Allow broker classpath extension using custom paths

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

ASF subversion and git services commented on ARTEMIS-4444:
----------------------------------------------------------

Commit 7a55b1d613626e91e7859ba32ed8ba5f8b999c18 in activemq-artemis's branch refs/heads/main from Domenico Francesco Bruscino
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=7a55b1d613 ]

ARTEMIS-4444 Support custom directories to add runtime dependencies

The system property `artemis.extra.libs` is a comma separated list of
directories that contains jar files, i.e.
```
-Dartemis.extra.libs=/usr/local/share/java/lib1,/usr/local/share/java/lib2
```
The environment variable `ARTEMIS_EXTRA_LIBS` is a comma separated list of
directories that contains jar files and is ignored if the system property
`artemis.extra.libs` is defined, i.e.
```
export ARTEMIS_EXTRA_LIBS=/usr/local/share/java/lib1,/usr/local/share/java/lib2
```


> Allow broker classpath extension using custom paths
> ---------------------------------------------------
>
>                 Key: ARTEMIS-4444
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4444
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Currently users can add runtime dependencies by placing the jar files in the `lib` directory of the broker distribution itself or in the `lib` directory of the broker instance. Supporting an environment variable to extend the classpath would avoid the need to copy those artifact in the broker directories and allow to add those jar files to the ActiveMQ Artemis container mounting additional volumes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)