[ 
https://issues.apache.org/jira/browse/ARTEMIS-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Geert Schuring updated ARTEMIS-4380:
------------------------------------
    Description: 
The code for example "Multiple Failover Failback" is the exact same as 
"Multiple Failover" while it should show how to make sure clients revert back 
to the master broker as soon as it comes back online.

Compare these two:
 # 
[https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverExample.java]
 # 
[https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover-failback/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverFailbackExample.java]

There's no meaningfull difference between them, unless I'm misunderstanding 
something. In any case, the axample does not tell me how to achieve failback.

  was:
The code for example "Multiple Failover Failback" is the exact same as 
"Multiple Failover" while it should show how to make sure clients revert back 
to the master broker as soon as it comes back online. 

Compare these two:
 # 
[https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverExample.java]
 # 
[https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover-failback/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverFailbackExample.java]

There's not meaningfull difference between them.


> Multiple Failover Failback example missing
> ------------------------------------------
>
>                 Key: ARTEMIS-4380
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4380
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.28.0
>            Reporter: Geert Schuring
>            Priority: Major
>              Labels: examples, failback
>             Fix For: 2.30.0
>
>
> The code for example "Multiple Failover Failback" is the exact same as 
> "Multiple Failover" while it should show how to make sure clients revert back 
> to the master broker as soon as it comes back online.
> Compare these two:
>  # 
> [https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverExample.java]
>  # 
> [https://raw.githubusercontent.com/apache/activemq-artemis/main/examples/features/ha/multiple-failover-failback/src/main/java/org/apache/activemq/artemis/jms/example/MultipleFailoverFailbackExample.java]
> There's no meaningfull difference between them, unless I'm misunderstanding 
> something. In any case, the axample does not tell me how to achieve failback.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to