Qpid
  1. Qpid
  2. QPID-4422

Python Client (0-8..0-9) should allow "instance" client property to be passed in order to allow re-subscribing to durable subscriptions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14, 0.16, 0.18
    • Fix Version/s: 0.19
    • Component/s: Python Client
    • Labels:
      None

      Description

      In order reconnect to an exclusive queue, the client must reconnect with the same clientid. In the Python 0-8 and 0-9 client code, this is currently impossible as it does not allow the "instance" client property to be passed to the broker when performing the connection.start, and so the Broker assigns a random one.

      This makes it impossible for the Python client users to use exclusive queues, which are integral to using durable subscriptions properly.

      The 0-10 code does not have this problem.

      The Python client (0-8..0-9 code paths) should be changed to allow the user to pass the client_properties, thus allowing them to specify the instance. We should also take this opportunity to pass the client version number.

        Activity

        Keith Wall created issue -
        Keith Wall made changes -
        Field Original Value New Value
        Summary Python Client (0-8..0-9) should pass "instance" client property to allow re-subscribing to durable subscriptions Python Client (0-8..0-9) should allow "instance" client property to be passed in order to allow re-subscribing to durable subscriptions
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ]
        Keith Wall made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Philip Harvey [ philharveyonline ]
        Keith Wall made changes -
        Description In order reconnect to an exclusive queue, the client must reconnect with the same clientid. In the Python 0-8 and 0-9 client code, this is currently impossible as it does not allow the "instance" client property to be passed to the broker when performing the connection.start, and so the Broker assigns a random one.

        This makes it impossible for the Python client users to use exclusive queues, which are integral to using durable subscriptions properly.

        The 0-10 code does not have this problem.

        The Python client should be changed to allow the user to pass the client_properties, thus allowing them to specify the instance. We should also take this opportunity to pass the client version number.
        In order reconnect to an exclusive queue, the client must reconnect with the same clientid. In the Python 0-8 and 0-9 client code, this is currently impossible as it does not allow the "instance" client property to be passed to the broker when performing the connection.start, and so the Broker assigns a random one.

        This makes it impossible for the Python client users to use exclusive queues, which are integral to using durable subscriptions properly.

        The 0-10 code does not have this problem.

        The Python client (0-8..0-9 code paths) should be changed to allow the user to pass the client_properties, thus allowing them to specify the instance. We should also take this opportunity to pass the client version number.
        Keith Wall made changes -
        Fix Version/s 0.19 [ 12322452 ]
        Philip Harvey made changes -
        Philip Harvey made changes -
        Assignee Philip Harvey [ philharveyonline ] Keith Wall [ k-wall ]
        Keith Wall made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Keith Wall
            Reporter:
            Keith Wall
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development