You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2021/10/07 14:24:38 UTC
[activemq-artemis] branch main updated (d7f37ae -> 5508b8a)
This is an automated email from the ASF dual-hosted git repository.
gtully pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git.
from d7f37ae ARTEMIS-3520: set the Open failure hint when balancer redirects or refuses AMQP connection, add lower level test for balancer related redirect/refusal protocol behaviour
add 5508b8a ARTEMIS-3365 - add simple local-target balancer example with amqp failover, remove manditory pool and policy config and update doc with data gravity concept
No new revisions were added by this update.
Summary of changes:
.../core/config/balancing/PoolConfiguration.java | 3 +-
.../core/server/balancing/BrokerBalancer.java | 12 ++-
.../server/balancing/BrokerBalancerManager.java | 12 ++-
.../resources/schema/artemis-configuration.xsd | 4 +-
.../core/config/impl/FileConfigurationTest.java | 13 +++-
.../balancing/BrokerBalancerManagerTest.java | 87 ++++++++++++++++++++++
.../core/server/balancing/BrokerBalancerTest.java | 81 ++++++++++++++++++++
.../resources/ConfigurationTest-full-config.xml | 5 ++
.../ConfigurationTest-xinclude-config.xml | 5 ++
docs/user-manual/en/broker-balancers.md | 37 +++++++--
examples/features/broker-balancer/pom.xml | 2 +
.../pom.xml | 15 ++--
.../broker-balancer/symmetric-simple/readme.md | 31 ++++++++
.../jms/example/SymmetricSimpleExample.java} | 64 ++++++----------
.../main/resources/activemq/server0}/broker.xml | 10 ++-
.../main/resources/activemq/server1}/broker.xml | 11 ++-
16 files changed, 321 insertions(+), 71 deletions(-)
create mode 100644 artemis-server/src/test/java/org/apache/activemq/artemis/core/server/balancing/BrokerBalancerManagerTest.java
create mode 100644 artemis-server/src/test/java/org/apache/activemq/artemis/core/server/balancing/BrokerBalancerTest.java
copy examples/features/broker-balancer/{symmetric-redirect => symmetric-simple}/pom.xml (92%)
create mode 100644 examples/features/broker-balancer/symmetric-simple/readme.md
copy examples/features/broker-balancer/{symmetric-redirect/src/main/java/org/apache/activemq/artemis/jms/example/SymmetricRedirectExample.java => symmetric-simple/src/main/java/org/apache/activemq/artemis/jms/example/SymmetricSimpleExample.java} (54%)
copy examples/features/broker-balancer/{evenly-redirect/src/main/resources/activemq/server2 => symmetric-simple/src/main/resources/activemq/server0}/broker.xml (88%)
copy examples/features/broker-balancer/{evenly-redirect/src/main/resources/activemq/server2 => symmetric-simple/src/main/resources/activemq/server1}/broker.xml (88%)