Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • ActiveMQ
    • None

    Description

      On the subject of uri syntax, I tried the following:

      "activemq:failover:(tcp://localhost:61616,tcp://localhost:61626,tcp://localhost:61636)"

      And it did not work. I stepped into the code and I believe the splitComponents method in the URISupport.cs class has a bug. The returned value from that method, a String[] contains:

      components[0] == tcp://localhost:61616
      components[1] == tcp://localhost:61626,tcp://localhost:61636
      components[2] == tcp://localhost:61636

      This fails downstream because the port number cannot be parsed.

      See details at: http://www.nabble.com/Re%3A--Apache.NMS.ActiveMQ-using-FailoverTransport-p21833315.html

      Attachments

        1. AMQNET-140-741308.diff
          0.4 kB
          Allan Schrum

        Activity

          People

            jgomes Jim Gomes
            mkeenan Mark Keenan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: