Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1967

TcpTransportServer.bind() should use serverSocket.setReuseAddress(Boolean.TRUE)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.0
    • Component/s: Transport
    • Labels:
      None

      Description

      for tests that restart brokers or for apps that require fast restarts, using reuseAddress for server sockets makes sense.
      The default should be true, with the option to control it through transport Options.

      This will help the robustness of DuplexNetworkMBeanTest which does a bunch of broker restarts to check for leaked MBeans

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              gtully Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: