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

[Broker-J] [JMS2.0 support] 'null source lookup' ends up in 'amqp:not-found' on attaching of unsubscribe links for global durable shared subscriptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      As per QPIDJMS-220

      During unsubscribe, if a ClientID is set on the connection, a link named with the subscription name would be used to perform a 'null source lookup' for the subscription, as it is already for the existing non-shared durable subscriptions (see earlier for behaviour outline). If a ClientID is not set, the "|global" suffix will be added as shown previously..

      The current broker behaviour is not compliment with QPIDJMS-220. The broker create a new link instead of looking for existing link having name <subscription-name>|global as suggested by QPIDJMS-220. For the new link, the local source is null. As result, 'not=found' error is reported.

      The broker should try to find an existing link in the link registry using link name only rather than name and a container ID as it does now. If link with given name is found, it should be used to recover the source. The broker should perform the search by link name only if SHARED capability is requested either on connection or attach itself as suggested by QPIDJMS-220:

      Additionally, while using connections that dont have a ClientID set, i.e using global shared susbcriptions, the link will have "shared" and "global" desired capabilities added as hints to the server that this is an attempt to attach to a 'global' shared subscription of the appropriate name derived from the link, aiding the server should no link with this name be known by it for the particular client container-id currently in use.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              orudyy Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: