Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1552

[failover] JMS Openwire client does not get topology information/update from single node, all nodes have to be provided in connection url

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Minor
    • None
    • AMQ 7.2.0.GA
    • openwire-protocol
    • None

    Description

      It seems like JMS Openwire client is not capable of getting "topology information" from broker, other than that provided by user in its ConnectionURI.

      Example: 1 AMQ7 HA pair (master-slave topology)

      openwire client connectionURI
      failover:(master_ip:61616, slave_ip:61616)... -> kill master, client reconnects to next node in failoverUri -> to slave.

      If I use just
      failover:(master_ip:61616)... -> kill master, client will NOT reconnects to slave, as it has no information about it.

      I have tried to use failover updateClusterClients on acceptor, but it's not working at all.
      According to gaohoward client does not understand master-slave topology, only clustered one.
      Also, HA/MasterSlave topics in AMQ6 also suggest in example to use full failover URI, so "discovery" is not there as well.
      http://activemq.apache.org/masterslave.html & http://activemq.apache.org/jdbc-master-slave.html
      all failover examples point to usage of
      failover:(tcp://broker1:61616,tcp://broker2:61616,tcp://broker3:61616).

      JMS Core & JMS AMQP clients are working with master broker URI only and get the topology "information/update" about slaves as well.

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            mtoth@redhat.com Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: