Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1098#discussion_r106419741
  
    --- Diff: 
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/TopologyMemberImpl.java
 ---
    @@ -129,6 +131,22 @@ public String toURI() {
           return "tcp://" + host + ":" + port;
        }
     
    +   public URI toBackupURI() {
    +      TransportConfiguration backupConnector = getBackup();
    +      if (backupConnector == null) {
    +         return null;
    --- End diff --
    
    Instead of returning null, can't we return the other members on the list?
    
    I foresee a lot of cases where users don't have backup servers on the 
cloud.. and just have the infra-structure reconnecting them from data.
    
    Can you provide other nodes as a list here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to