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 GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/22 20:50:00 UTC
[jira] [Commented] (ARTEMIS-608) Document how to add user-provided
classes to Broker class path
[ https://issues.apache.org/jira/browse/ARTEMIS-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334875#comment-16334875 ]
ASF GitHub Bot commented on ARTEMIS-608:
----------------------------------------
GitHub user jbertram opened a pull request:
https://github.com/apache/activemq-artemis/pull/1804
ARTEMIS-608 document adding runtime deps
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-608
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1804.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1804
----
commit b8239d4401e7a614067debd4b6c4d3d6b38abbe2
Author: Justin Bertram <jb...@...>
Date: 2018-01-22T20:47:53Z
ARTEMIS-608 document adding runtime deps
----
> Document how to add user-provided classes to Broker class path
> --------------------------------------------------------------
>
> Key: ARTEMIS-608
> URL: https://issues.apache.org/jira/browse/ARTEMIS-608
> Project: ActiveMQ Artemis
> Issue Type: Task
> Components: Broker
> Affects Versions: 1.3.0
> Reporter: Jiri Daněk
> Priority: Major
> Labels: documentation
>
> Broker reads the {{lib}} directory in the broker home directory and a {{lib}} directory **in the broker instance directory** and jar files in these directories are put on the class path. To provide my own Interceptor or something, it should be built into a jar and (together with all depending jars) dropped into the instance's lib directory, so it can be found by the broker.
> This deserves to be written up in the documentation. I believe that the only place this is described (the part about the instance's lib at least) is http://activemq.2283324.n4.nabble.com/Adding-custom-decoder-into-Artemis-classpath-td4707493.html.
> Appropriate place for this explanation might be be {{docs/user-manual/en/using-server.md}}
> There are few references to it, I managed to find {{docs/user-manual/en/intercepting-operations.md}} and {{docs/user-manual/en/persistence.md}} which say
> {quote}The interceptors classes (and their dependencies) must be added to the server classpath to be properly instantiated and called.{quote}
> {quote}Add the appropriate JDBC driver libraries to the Artemis runtime. You can do this by dropping the relevant jars in the lib folder of the ActiveMQ Artemis distribution.{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)