Qpid
  1. Qpid
  2. QPID-3428

Verification of unique client ID does not work with Java Broker

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.13
    • Component/s: Java Broker, Java Client
    • Labels:
      None

      Description

      On settings client JVM property "qpid.verify_client_id" to "true" Qpid broker should not allow creation of connections with the same client id. However, this functionality does not work at the moment.

      JUnit test org.apache.qpid.test.unit.client.connection.ConnectionTest#testClientIDVerification fails with the following message:
      "The client should throw a ConnectionException stating the client ID is not unique"

      junit.framework.AssertionFailedError: The client should throw a ConnectionException stating the client ID is not unique
      at org.apache.qpid.test.unit.client.connection.ConnectionTest.testClientIDVerification(ConnectionTest.java:307)
      at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:243)
      at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:125)

        Activity

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development