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

The noLocal state for a durable subscription is not stored and recovered.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.0, 5.10.1, 5.10.2, 5.11.0, 5.11.1
    • Fix Version/s: 5.12.0
    • Component/s: AMQP, Broker, JMS client, KahaDB
    • Labels:
      None

      Description

      The broker does not store the noLocal value as part of the SubscriptionInfo object that represents stored durable subscriptions. This means that on restart the value for previous subscriptions is not recovered from the store which means we can fail tests for this bit in the JMS spec:

      If an unshared durable subscription already exists with the same name and client identifier but a different topic, message selector or noLocal value has been specified, and there is no consumer already active (i.e. not closed) on the durable subscription then this is equivalent to unsubscribing (deleting) the old one and creating a new one.

      This also means that an AMQP receiver that tries to recover a previous durable subscription won't be able to validate the remote Source to validate that its state matches the requested subscription configuration.

        Attachments

          Activity

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              tabish121 Timothy Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: