[1/2] activemq-artemis git commit: This closes #2437

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[1/2] activemq-artemis git commit: This closes #2437

nigrofranz
Repository: activemq-artemis
Updated Branches:
  refs/heads/master a2705ae91 -> 8e4bc4813


This closes #2437


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

Branch: refs/heads/master
Commit: 8e4bc48132db5dcd9ef3cc393871e9ec4c61e4fb
Parents: a2705ae d6bca38
Author: Francesco Nigro <[hidden email]>
Authored: Thu Dec 6 16:13:40 2018 +0100
Committer: Francesco Nigro <[hidden email]>
Committed: Thu Dec 6 16:13:40 2018 +0100

----------------------------------------------------------------------
 docs/user-manual/en/configuration-index.md |  1 +
 docs/user-manual/en/diverts.md             | 16 +++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


Reply | Threaded
Open this post in threaded view
|

[2/2] activemq-artemis git commit: NO-JIRA doc for divert routing-type

nigrofranz
NO-JIRA doc for divert routing-type


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

Branch: refs/heads/master
Commit: d6bca3825f1eeec1b5458a89927a3a04df6a2f04
Parents: a2705ae
Author: Justin Bertram <[hidden email]>
Authored: Mon Nov 19 13:21:51 2018 -0600
Committer: Francesco Nigro <[hidden email]>
Committed: Thu Dec 6 16:13:40 2018 +0100

----------------------------------------------------------------------
 docs/user-manual/en/configuration-index.md |  1 +
 docs/user-manual/en/diverts.md             | 16 +++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d6bca382/docs/user-manual/en/configuration-index.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/configuration-index.md b/docs/user-manual/en/configuration-index.md
index 22d3c7e..67b9823 100644
--- a/docs/user-manual/en/configuration-index.md
+++ b/docs/user-manual/en/configuration-index.md
@@ -320,6 +320,7 @@ Name | Description
 [address](diverts.md) | the address this divert will divert from
 [forwarding-address](diverts.md) | the forwarding address for the divert
 [filter](diverts.md) | optional core filter expression
+[routing-type](diverts.md) | how to set the routing-type on the diverted message. Default=`STRIP`
 
 
 ## address type

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/d6bca382/docs/user-manual/en/diverts.md
----------------------------------------------------------------------
diff --git a/docs/user-manual/en/diverts.md b/docs/user-manual/en/diverts.md
index 5681e96..aa78980 100644
--- a/docs/user-manual/en/diverts.md
+++ b/docs/user-manual/en/diverts.md
@@ -14,13 +14,23 @@ and a *copy* of it is also sent to the new address. Non-exclusive
 diverts can therefore be used for *splitting* message flows, e.g. there
 may be a requirement to monitor every order sent to an order queue.
 
-Diverts can also be configured to have an optional message filter. If
-specified then only messages that match the filter will be diverted.
-
 When an address has both exclusive and non-exclusive diverts configured,
 the exclusive ones are processed first. If any of the exclusive diverts
 diverted the message, the non-exclusive ones are not processed.
 
+Diverts can also be configured to have an optional message filter. If
+specified then only messages that match the filter will be diverted.
+
+Diverts can apply a particular routing-type to the message, strip the
+existing routing type, or simply pass the existing routing-type through.
+This is useful in situations where the message may have its routing-type
+set but you want to divert it to an address using a different routing-type.
+It's important to keep in mind that a message with the `anycast`
+routing-type will not actually be routed to queues using `multicast` and
+vice-versa. By configuring the `routing-type` of the divert you have the
+flexibility to deal with any situation. Valid values are `ANYCAST`,
+`MULTICAST`, `PASS`, & `STRIP`. The default is `STRIP`.
+
 Diverts can also be configured to apply a `Transformer`. If specified,
 all diverted messages will have the opportunity of being transformed by
 the `Transformer`. When an address has multiple diverts configured, all