Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3428

Verification of unique client ID does not work with Java Broker

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.13
    • Component/s: Broker-J, JMS AMQP 0-x
    • 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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: