You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/01/22 21:19:08 UTC
[1/2] activemq-artemis git commit: ARTEMIS-608 document adding
runtime deps
Repository: activemq-artemis
Updated Branches:
refs/heads/master 72a267c46 -> 1a56efd3a
ARTEMIS-608 document adding runtime deps
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/55722479
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/55722479
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/55722479
Branch: refs/heads/master
Commit: 557224795b3e1f7634e018f1741788201a1ba833
Parents: 72a267c
Author: Justin Bertram <jb...@apache.org>
Authored: Mon Jan 22 14:47:53 2018 -0600
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Jan 22 16:19:00 2018 -0500
----------------------------------------------------------------------
docs/user-manual/en/broker-plugins.md | 2 +-
docs/user-manual/en/diverts.md | 3 +++
docs/user-manual/en/intercepting-operations.md | 4 ++--
docs/user-manual/en/persistence.md | 3 ++-
docs/user-manual/en/using-server.md | 10 ++++++++++
5 files changed, 18 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55722479/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 9d19c16..c3c1f0e 100644
--- a/docs/user-manual/en/broker-plugins.md
+++ b/docs/user-manual/en/broker-plugins.md
@@ -10,7 +10,7 @@ interface, making sure the plugin is on the classpath, and registering it with t
## Adding the plugin to the classpath
-The proper place to add your jar would be under $ARTEMIS_INSTANCE/lib.
+See the documentation on [adding runtime dependencies](using-server.md) to understand how to make your plugin available to the broker.
If you are using an embed system than you will need the jar under the regular classpath of your embedded application.
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55722479/docs/user-manual/en/diverts.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/diverts.md b/docs/user-manual/en/diverts.md
index 4c71b34..b697296 100644
--- a/docs/user-manual/en/diverts.md
+++ b/docs/user-manual/en/diverts.md
@@ -28,6 +28,9 @@ of them receive the same, original message. This means that the results
of a transformer on a message are not directly available for other
diverts or their filters on the same address.
+See the documentation on [adding runtime dependencies](using-server.md) to
+understand how to make your transformer available to the broker.
+
A divert will only divert a message to an address on the *same server*,
however, if you want to divert to an address on a different server, a
common pattern would be to divert to a local store-and-forward queue,
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55722479/docs/user-manual/en/intercepting-operations.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/intercepting-operations.md b/docs/user-manual/en/intercepting-operations.md
index 7834440..2517430 100644
--- a/docs/user-manual/en/intercepting-operations.md
+++ b/docs/user-manual/en/intercepting-operations.md
@@ -67,8 +67,8 @@ Both incoming and outgoing interceptors are configured in
<class-name>org.apache.activemq.artemis.jms.example.AdditionalPropertyInterceptor</class-name>
</remoting-outgoing-interceptors>
-The interceptors classes (and their dependencies) must be added to the
-server classpath to be properly instantiated and called.
+See the documentation on [adding runtime dependencies](using-server.md) to
+understand how to make your interceptor available to the broker.
## Interceptors on the Client Side
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55722479/docs/user-manual/en/persistence.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/persistence.md b/docs/user-manual/en/persistence.md
index 91082b5..1020192 100644
--- a/docs/user-manual/en/persistence.md
+++ b/docs/user-manual/en/persistence.md
@@ -407,7 +407,8 @@ in the database tables is encoded using Apache ActiveMQ Artemis internal encodin
To configure Apache ActiveMQ Artemis to use a database for persisting messages and bindings data you must do two things.
-1. 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.
+1. See the documentation on [adding runtime dependencies](using-server.md) to
+ understand how to make the JDBC driver available to the broker.
2. Create a store element in your broker.xml config file under the ```<core>``` element. For example:
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/55722479/docs/user-manual/en/using-server.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/using-server.md b/docs/user-manual/en/using-server.md
index b1e2c91..b0b8ac9 100644
--- a/docs/user-manual/en/using-server.md
+++ b/docs/user-manual/en/using-server.md
@@ -460,3 +460,13 @@ Just use the following command to install it:
The create process should give you a hint of the available commands available for the artemis-service.exe
+
+## Adding Runtime Dependencies
+
+Runtime dependencies like diverts, transformers, broker plugins, JDBC drivers,
+password decoders, etc. must be accessible by the broker at runtime. Package
+the dependency in a jar, and put it on the broker's classpath. This can be done
+by placing the jar file in the `lib` directory of the broker distribution itself
+or in the `lib` directory of the broker instance. A broker instance does not have
+a `lib` directory by default so it may need to be created. It should be on the
+"top" level with the `bin`, `data`, `log`, etc. directories.
\ No newline at end of file
[2/2] activemq-artemis git commit: This closes #1804
Posted by cl...@apache.org.
This closes #1804
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1a56efd3
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1a56efd3
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1a56efd3
Branch: refs/heads/master
Commit: 1a56efd3a5b360b817568387d71571f03290aeeb
Parents: 72a267c 5572247
Author: Clebert Suconic <cl...@apache.org>
Authored: Mon Jan 22 16:19:01 2018 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Jan 22 16:19:01 2018 -0500
----------------------------------------------------------------------
docs/user-manual/en/broker-plugins.md | 2 +-
docs/user-manual/en/diverts.md | 3 +++
docs/user-manual/en/intercepting-operations.md | 4 ++--
docs/user-manual/en/persistence.md | 3 ++-
docs/user-manual/en/using-server.md | 10 ++++++++++
5 files changed, 18 insertions(+), 4 deletions(-)
----------------------------------------------------------------------