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

Existing durable subscription with selector is not unsubscribed during change to new subscription

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: M4, 0.5, 0.6
    • Fix Version/s: 0.7
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      AMQSession.createDurableSubscriber(topic, name, messageSelector, noLocal) does not unsubscribe existing durable subscriptions. Whilst it does check for existing durable subscriptions in use by the client with the same name, it instead simply closes the subscriptions then creates a new one. As a result of not unsubscribing, the queue backing the subscription is not deleted before being used by the updated subscription as it should be (and as happens in the 0_8 and 0_10 subclasses when using durable subscriptions without selectors).

        Attachments

        1. QPID-2418-trunk_robbies_additions.patch
          21 kB
          Robbie Gemmell
        2. QPID-2418-trunk_new.patch
          50 kB
          Robbie Gemmell
        3. 0001-QPID-2418-trunk.patch
          53 kB
          Andrew Kennedy
        4. 0001-QPID-2418-branch.patch
          51 kB
          Andrew Kennedy

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: