activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-898 Documenting where to add the plugin jar
Date Mon, 08 May 2017 18:53:12 GMT
ARTEMIS-898 Documenting where to add the plugin jar


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/c53f6168
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/c53f6168
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/c53f6168

Branch: refs/heads/master
Commit: c53f6168c93d0c95fc0922af837197a86b117bf7
Parents: 890e381
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Mon May 8 12:22:50 2017 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon May 8 14:52:27 2017 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/cli/commands/Create.java  |  1 +
 docs/user-manual/en/broker-plugins.md                     | 10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c53f6168/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
index 9cc5bf3..ae45257 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
@@ -597,6 +597,7 @@ public class Create extends InputAbstract {
       new File(directory, "etc").mkdirs();
       new File(directory, "log").mkdirs();
       new File(directory, "tmp").mkdirs();
+      new File(directory, "lib").mkdirs();
       File dataFolder = new File(directory, "data");
       dataFolder.mkdirs();
 

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/c53f6168/docs/user-manual/en/broker-plugins.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/broker-plugins.md b/docs/user-manual/en/broker-plugins.md
index 7166aca..25250ed 100644
--- a/docs/user-manual/en/broker-plugins.md
+++ b/docs/user-manual/en/broker-plugins.md
@@ -8,11 +8,15 @@ is always executed first).
 Creating a plugin is very simple. It requires implementing the [`ActiveMQServerPlugin`](../../../artemis-server/src/main/java/org/apache/activemq/artemis/core/server/plugin/ActiveMQServerPlugin.java)
 interface, making sure the plugin is on the classpath, and registering it with the broker.
 Only the methods that you want to add behavior for need to be implemented as all of the interface
methods are default methods.
 
-## Registering a Plugin
+## Adding the plugin to the classpath
+
+The proper place to add your jar would be under $ARTEMIS_INSTANCE/lib.
 
-To register a plugin with by XML you need to add the `broker-plugins` element.
+If you are using an embed system than you will need the jar under the regular classpath of
your embedded application.
+
+## Registering a Plugin
 
-`broker.xml` in your classpath:
+To register a plugin with by XML you need to add the `broker-plugins` element at the `broker.xml`.
 
 ```xml
 <configuration ...>


Mime
View raw message