This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch development
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-examples.git


The following commit(s) were added to refs/heads/development by this push:
     new b8662f9  ARTEMIS-4802: Fix use of deprecated tags in 
ha/replicated-failback example
b8662f9 is described below

commit b8662f9a29d0579249d0239fd79f93fe4be99139
Author: Susinda <[email protected]>
AuthorDate: Fri Jun 7 15:44:52 2024 +1000

    ARTEMIS-4802: Fix use of deprecated tags in ha/replicated-failback example
    
    This closes #10
---
 .../src/main/resources/activemq/server0/broker.xml                  | 6 +++---
 .../src/main/resources/activemq/server1/broker.xml                  | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/examples/features/ha/replicated-failback/src/main/resources/activemq/server0/broker.xml
 
b/examples/features/ha/replicated-failback/src/main/resources/activemq/server0/broker.xml
index 6fce88d..f3c3a09 100644
--- 
a/examples/features/ha/replicated-failback/src/main/resources/activemq/server0/broker.xml
+++ 
b/examples/features/ha/replicated-failback/src/main/resources/activemq/server0/broker.xml
@@ -34,10 +34,10 @@ under the License.
 
       <ha-policy>
          <replication>
-            <master>
+            <primary>
                <!--we need this for auto failback-->
-               <check-for-live-server>true</check-for-live-server>
-            </master>
+               <check-for-active-server>true</check-for-active-server>
+            </primary>
          </replication>
       </ha-policy>
 
diff --git 
a/examples/features/ha/replicated-failback/src/main/resources/activemq/server1/broker.xml
 
b/examples/features/ha/replicated-failback/src/main/resources/activemq/server1/broker.xml
index 8435091..dd35ba6 100644
--- 
a/examples/features/ha/replicated-failback/src/main/resources/activemq/server1/broker.xml
+++ 
b/examples/features/ha/replicated-failback/src/main/resources/activemq/server1/broker.xml
@@ -34,9 +34,9 @@ under the License.
 
       <ha-policy>
          <replication>
-            <slave>
+            <backup>
                <allow-failback>true</allow-failback>
-            </slave>
+            </backup>
          </replication>
       </ha-policy>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to